Skip to content

Commit 308725c

Browse files
committed
More clearly disable the inclusion of src/Core/arch/CUDA/Complex.h without CUDA
1 parent 000840c commit 308725c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Eigen/Core

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ using std::ptrdiff_t;
206206

207207
// Specialized functors to enable the processing of complex numbers
208208
// on CUDA devices
209+
#ifdef EIGEN_CUDACC
209210
#include "src/Core/arch/CUDA/Complex.h"
211+
#endif
210212

211213
#include "src/Core/util/IndexedViewHelper.h"
212214
#include "src/Core/ArithmeticSequence.h"

0 commit comments

Comments
 (0)