diff --git a/unsupported/Eigen/CXX11/Tensor b/unsupported/Eigen/CXX11/Tensor index 2ee9e11a9..8b36093f0 100644 --- a/unsupported/Eigen/CXX11/Tensor +++ b/unsupported/Eigen/CXX11/Tensor @@ -82,8 +82,6 @@ typedef unsigned __int64 uint64_t; #endif #endif -// tuple construction -#include "src/Tensor/TensorSyclTuple.h" #include "src/Tensor/TensorMacros.h" #include "src/Tensor/TensorForwardDeclarations.h" #include "src/Tensor/TensorMeta.h" diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorSycl.h index c099cb42e..e9cef0eae 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorSycl.h @@ -47,6 +47,8 @@ template struct GetType{ } } +// tuple construction +#include "TensorSyclTuple.h" // counting number of leaf at compile time #include "TensorSyclLeafCount.h" diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclTuple.h b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclTuple.h index c0e48524d..58ab0f0d5 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclTuple.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclTuple.h @@ -20,7 +20,6 @@ #ifndef UNSUPPORTED_EIGEN_CXX11_SRC_TENSOR_TENSORSYCL_TUPLE_HPP #define UNSUPPORTED_EIGEN_CXX11_SRC_TENSOR_TENSORSYCL_TUPLE_HPP -#ifdef EIGEN_USE_SYCL namespace utility { namespace tuple { @@ -233,5 +232,5 @@ Tuple append(Tuple t1,Tuple t2) { } } // tuple } // utility -#endif //EIGEN_USE_SYCL + #endif // UNSUPPORTED_EIGEN_CXX11_SRC_TENSOR_TENSORSYCL_TUPLE_HPP