diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-02-20 12:11:05 +0000 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-02-20 12:11:05 +0000 |
commit | 79ebc8f76137f151c78b4f61cd99fae62bf6c34f (patch) | |
tree | 384d2c94a81ffc5516c78946e38c7675949d4dd5 /unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h | |
parent | 91982b91c02deb5e1ce557bbc5c96fee19c636ed (diff) |
Adding Sycl backend for TensorImagePatchOP.h; adding Sycl backend for TensorInflation.h.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h | 6 |
1 files changed, 6 insertions, 0 deletions
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<const TensorInflationOp<Strides, ArgType>, 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<ArgType, Device>& 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<Index, NumDims> m_outputStrides; |