aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-07-18 13:51:36 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-07-18 13:51:36 +0200
commit308725c3c94af57b7ba10e3c78ccd2355767fff9 (patch)
tree8a20f0b3ce294aa770038de2aee95b930a52c9c1 /Eigen/Core
parent000840cae0568da3c9148ddfe18b2af5b3e24067 (diff)
More clearly disable the inclusion of src/Core/arch/CUDA/Complex.h without CUDA
Diffstat (limited to 'Eigen/Core')
-rw-r--r--Eigen/Core2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core
index 2ab44fb3c..23676311f 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -206,7 +206,9 @@ using std::ptrdiff_t;
// Specialized functors to enable the processing of complex numbers
// on CUDA devices
+#ifdef EIGEN_CUDACC
#include "src/Core/arch/CUDA/Complex.h"
+#endif
#include "src/Core/util/IndexedViewHelper.h"
#include "src/Core/ArithmeticSequence.h"