aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-02-21 12:51:58 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-02-21 12:51:58 +0100
commit968f7591f8b4a7d1457575bac22e75465340c3db (patch)
tree86af7209114727ab3bba506f6f27b83bdd9ccc3c /Eigen
parent5adcc6c7b48b7a213af91bc123a02ab87751228e (diff)
Make it compile without nvcc
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/Core2
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