mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-05 18:24:06 +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.
|
||||
struct __half {
|
||||
__half() {}
|
||||
explicit __half(unsigned short raw) : x(raw) {}
|
||||
EIGEN_DEVICE_FUNC __half() {}
|
||||
explicit EIGEN_DEVICE_FUNC __half(unsigned short raw) : x(raw) {}
|
||||
unsigned short x;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user