Closed GPMueller closed 6 years ago
It seems that the macro EIGEN_USE_GPU should be used when using Eigen in CUDA kernels, but I am not sure about this, as it is not well documented. See for example https://bitbucket.org/eigen/eigen/pull-requests/225/add-cuda-specific-std-complex/diff and the comments in the src/Core/arch/CUDA/Complex.h header
EIGEN_USE_GPU
src/Core/arch/CUDA/Complex.h
Added with b592c65dfb41b9aaeb852ff8d009ca2269e9500c. Note: this is needed to use complex Eigen types (which use std::complex).
std::complex
It seems that the macro
EIGEN_USE_GPU
should be used when using Eigen in CUDA kernels, but I am not sure about this, as it is not well documented. See for example https://bitbucket.org/eigen/eigen/pull-requests/225/add-cuda-specific-std-complex/diff and the comments in thesrc/Core/arch/CUDA/Complex.h
header