Add missing header for GPU tests.

This commit is contained in:
Antonio Sanchez 2023-01-09 11:21:13 -08:00
parent 81172cbdcb
commit f47472603b

View File

@ -3,6 +3,9 @@
#include <Eigen/Core>
// Allow gpu** macros for generic tests.
#include <unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h>
// 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,
// use our custom implementation.