mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Fixed the constructors of the new half_base class.
This commit is contained in:
parent
5eea1c7f97
commit
fe778427f2
@ -65,8 +65,8 @@ EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __half float_to_half_rtne(float ff);
|
||||
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
|
||||
|
||||
struct half_base : public __half {
|
||||
explicit EIGEN_DEVICE_FUNC half_base(unsigned short raw) : __half(raw) {}
|
||||
EIGEN_DEVICE_FUNC half_base() {}
|
||||
EIGEN_DEVICE_FUNC half_base(const half_base& h) : __half(h) {}
|
||||
EIGEN_DEVICE_FUNC half_base(const __half& h) : __half(h) {}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user