Move HIP/CUDA defines to Core.

This commit is contained in:
Antonio Sánchez
2025-06-27 16:48:07 +00:00
parent 26616fe5b8
commit 7c636dd5db
10 changed files with 9 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
#include <Eigen/Core>
// Allow gpu** macros for generic tests.
#include <unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h>
#include <Eigen/src/Core/util/GpuHipCudaDefines.inc>
// std::tuple cannot be used on device, and there is a bug in cuda < 9.2 that
// doesn't allow std::tuple to compile for host code either. In these cases,