Move CUDA/Complex.h to GPU/Complex.h, remove TensorReductionCuda.h

The `Complex.h` file applies equally to HIP/CUDA, so placing under the
generic `GPU` folder.

The `TensorReductionCuda.h` has already been deprecated, now removing
for the next Eigen version.
This commit is contained in:
Antonio Sanchez
2021-10-08 11:36:27 -07:00
parent f2c9c2d2f7
commit d0d34524a1
3 changed files with 8 additions and 15 deletions

View File

@@ -258,10 +258,9 @@ using std::ptrdiff_t;
#include "src/Core/functors/StlFunctors.h"
#include "src/Core/functors/AssignmentFunctors.h"
// Specialized functors to enable the processing of complex numbers
// on CUDA devices
#ifdef EIGEN_CUDACC
#include "src/Core/arch/CUDA/Complex.h"
// Specialized functors for GPU.
#ifdef EIGEN_GPUCC
#include "src/Core/arch/GPU/Complex.h"
#endif
#include "src/Core/util/IndexedViewHelper.h"