mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 00:04:14 +08:00
Make it compile without nvcc
This commit is contained in:
parent
5adcc6c7b4
commit
968f7591f8
@ -57,6 +57,8 @@
|
||||
#define EIGEN_NO_DEBUG
|
||||
// All functions callable from CUDA code must be qualified with __device__
|
||||
#define EIGEN_DEVICE_FUNC __host__ __device__
|
||||
#else
|
||||
#define EIGEN_DEVICE_FUNC
|
||||
#endif
|
||||
|
||||
#ifndef EIGEN_DONT_VECTORIZE
|
||||
|
Loading…
x
Reference in New Issue
Block a user