From 54db66c5df5ba1c219a8cb866cad50b0ff5c77cf Mon Sep 17 00:00:00 2001 From: Luke Iwanski Date: Fri, 16 Dec 2016 20:25:20 +0000 Subject: [PATCH] struct -> class in order to silence compilation warning. --- unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h | 2 +- unsupported/Eigen/CXX11/src/Tensor/TensorSyclFunctors.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h b/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h index e6aa0f334..9a012c176 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h @@ -27,7 +27,7 @@ namespace TensorSycl { namespace internal{ template class ReductionFunctor; template -struct FullReductionKernelFunctor; +class FullReductionKernelFunctor; } } #endif diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclFunctors.h b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclFunctors.h index 85c280588..710e22474 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclFunctors.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclFunctors.h @@ -101,7 +101,8 @@ template < typename HostExpr, typename FunctorExpr, typename Tuple_of_Acc, typen template -struct FullReductionKernelFunctor{ +class FullReductionKernelFunctor{ +public: typedef typename TensorSycl::internal::createPlaceHolderExpression::Type PlaceHolderExpr; OutAccessor tmp_global_accessor; Index rng , remaining, red_factor;