diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2019-07-01 16:27:28 +0100 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2019-07-01 16:27:28 +0100 |
commit | 9ea490c82c2603c6185c06e993943099b287a405 (patch) | |
tree | 2bf8f48fdd5281d589d0567aa192278998d5e064 /unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h | |
parent | 81a03bec75aac90aa343fccf6a7daf735e28c20d (diff) |
[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.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<const TensorReverseOp<ReverseDimensions, ArgType>, Device array<IndexDivisor, NumDims> m_fastStrides; TensorEvaluator<ArgType, Device> m_impl; ReverseDimensions m_reverse; - const Device& m_device; + const Device EIGEN_DEVICE_REF m_device; }; // Eval as lvalue |