From 7318daf887c4f06fa62e59e29fa675e48ad168f9 Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Fri, 25 Nov 2016 16:19:07 +0000 Subject: Fixing LLVM error on TensorMorphingSycl.h on GPU; fixing int64_t crash for tensor_broadcast_sycl on GPU; adding get_sycl_supported_devices() on syclDevice.h. --- unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h index 41d0d0022..75518a854 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h @@ -13,6 +13,7 @@ namespace Eigen { + /** \class TensorReduction * \ingroup CXX11_Tensor_Module * @@ -691,6 +692,11 @@ struct TensorEvaluator, template friend void internal::OuterReductionKernel(R, const S, I, I, typename S::CoeffReturnType*); #endif +#if defined(EIGEN_USE_SYCL) + template < typename HostExpr_, typename PlaceHolderExpr_, typename FunctorExpr_, typename Tuple_of_Acc_, typename Dims_, typename Op_, typename Index_> friend class TensorSycl::internal::ReductionFunctor; + +#endif + template friend struct internal::InnerReducer; // Returns the Index in the input tensor of the first value that needs to be -- cgit v1.2.3