mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-06 02:34:05 +08:00
Added missing EIGEN_DEVICE_FUNC
This commit is contained in:
commit
70195a5ff7
@ -46,8 +46,8 @@
|
|||||||
|
|
||||||
// Make our own __half definition that is similar to CUDA's.
|
// Make our own __half definition that is similar to CUDA's.
|
||||||
struct __half {
|
struct __half {
|
||||||
__half() {}
|
EIGEN_DEVICE_FUNC __half() {}
|
||||||
explicit __half(unsigned short raw) : x(raw) {}
|
explicit EIGEN_DEVICE_FUNC __half(unsigned short raw) : x(raw) {}
|
||||||
unsigned short x;
|
unsigned short x;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user