From 79ebc8f76137f151c78b4f61cd99fae62bf6c34f Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Mon, 20 Feb 2017 12:11:05 +0000 Subject: Adding Sycl backend for TensorImagePatchOP.h; adding Sycl backend for TensorInflation.h. --- unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h b/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h index f391fb9ee..b6bf05fed 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h @@ -215,6 +215,12 @@ struct TensorEvaluator, Device> EIGEN_DEVICE_FUNC Scalar* data() const { return NULL; } + /// required by sycl in order to extract the accessor + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorEvaluator& impl() const { return m_impl; } + /// required by sycl in order to extract the accessor + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Strides& functor() const { return m_strides; } + + protected: Dimensions m_dimensions; array m_outputStrides; -- cgit v1.2.3