diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-02-21 12:51:58 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-02-21 12:51:58 +0100 |
commit | 968f7591f8b4a7d1457575bac22e75465340c3db (patch) | |
tree | 86af7209114727ab3bba506f6f27b83bdd9ccc3c /Eigen | |
parent | 5adcc6c7b48b7a213af91bc123a02ab87751228e (diff) |
Make it compile without nvcc
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/Core | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core index d8f62c825..5d0a3e785 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -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 |