mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-28 15:52:01 +08:00
define EIGEN_VECTORIZE_CUDA when compiling with nvcc
This commit is contained in:
parent
95a430a2ca
commit
bbce6fa65d
@ -178,6 +178,11 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined __CUDACC__
|
||||||
|
#define EIGEN_VECTORIZE_CUDA
|
||||||
|
#include <vector_types.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined _OPENMP) && (!defined EIGEN_DONT_PARALLELIZE)
|
#if (defined _OPENMP) && (!defined EIGEN_DONT_PARALLELIZE)
|
||||||
#define EIGEN_HAS_OPENMP
|
#define EIGEN_HAS_OPENMP
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user