diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h index c7c443a593..0e69cd40cc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h @@ -182,7 +182,7 @@ struct NoOpOutputKernel { Index num_cols) const {} }; -template +template class TensorContractionOp : public TensorBase, ReadOnlyAccessors> { public: @@ -507,7 +507,7 @@ struct TensorContractionEvaluatorBase } template - #if !defined(EIGEN_HIPCC) + #if !defined(EIGEN_HIPCC) EIGEN_DEVICE_FUNC #endif void evalGemv(Scalar* buffer) const { @@ -556,7 +556,7 @@ struct TensorContractionEvaluatorBase } template - #if !defined(EIGEN_HIPCC) + #if !defined(EIGEN_HIPCC) EIGEN_DEVICE_FUNC #endif void evalGemm(Scalar* buffer) const {