From 79aa2b784ecc26d6a8ef6fb2b2b053f4ad81593b Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Thu, 1 Dec 2016 13:02:27 +0000 Subject: Adding sycl backend for TensorPadding.h; disbaling __unit128 for sycl in TensorIntDiv.h; disabling cashsize for sycl in tensorDeviceDefault.h; adding sycl backend for StrideSliceOP ; removing sycl compiler warning for creating an array of size 0 in CXX11Meta.h; cleaning up the sycl backend code. --- unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h index 284f29345..d582ccbe1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h @@ -723,7 +723,7 @@ struct TensorEvaluator startIndicesClamped, stopIndicesClamped; @@ -828,6 +828,15 @@ struct TensorEvaluator& impl() const{return m_impl;} + protected: EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const { @@ -862,6 +871,10 @@ struct TensorEvaluator m_offsets; // offset in a flattened shape const Strides m_strides; std::size_t m_block_total_size_max; + //use by sycl + const StartIndices m_exprStartIndices; + //use by sycl + const StopIndices m_exprStopIndices; }; // Eval as lvalue -- cgit v1.2.3