From 9ea490c82c2603c6185c06e993943099b287a405 Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Mon, 1 Jul 2019 16:27:28 +0100 Subject: [SYCL] : * Modifying TensorDeviceSYCL to use `EIGEN_THROW_X`. * Modifying TensorMacro to use `EIGEN_TRY/CATCH(X)` macro. * Modifying TensorReverse.h to use `EIGEN_DEVICE_REF` instead of `&`. * Fixing the SYCL device macro in SpecialFunctionsImpl.h. --- unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h index 42205db31..123675196 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h @@ -380,7 +380,7 @@ struct TensorEvaluator, Device array m_fastStrides; TensorEvaluator m_impl; ReverseDimensions m_reverse; - const Device& m_device; + const Device EIGEN_DEVICE_REF m_device; }; // Eval as lvalue -- cgit v1.2.3