diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h index d7a04a525..f5b969ce5 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h @@ -218,7 +218,6 @@ struct InnerMostDimReducer { } }; -#if !defined(EIGEN_USE_GPU) || !defined(__CUDACC__) template struct InnerMostDimReducer { static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType @@ -258,7 +257,6 @@ struct InnerMostDimReducer { } } }; -#endif template struct InnerMostDimPreserver {