aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/Core')
-rw-r--r--Eigen/Core4
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core
index d2edbd2bc..f613ee9aa 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -55,6 +55,10 @@
#define EIGEN_DEVICE_FUNC
#endif
+#ifdef __NVCC__
+#define EIGEN_DONT_VECTORIZE
+#endif
+
// When compiling CUDA device code with NVCC, pull in math functions from the
// global namespace. In host mode, and when device doee with clang, use the
// std versions.