diff options
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h | 8 | ||||
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h index 1d48b5eed..a3a79d4e9 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h @@ -164,7 +164,7 @@ struct TensorEvaluator protected: EvaluatorPointerType m_data; Dimensions m_dims; - const Device m_device; + const Device EIGEN_DEVICE_REF m_device; }; namespace { @@ -302,7 +302,7 @@ struct TensorEvaluator<const Derived, Device> protected: EvaluatorPointerType m_data; Dimensions m_dims; - const Device m_device; + const Device EIGEN_DEVICE_REF m_device; }; @@ -480,7 +480,7 @@ struct TensorEvaluator<const TensorCwiseUnaryOp<UnaryOp, ArgType>, Device> private: - const Device m_device; + const Device EIGEN_DEVICE_REF m_device; const UnaryOp m_functor; TensorEvaluator<ArgType, Device> m_argImpl; }; @@ -603,7 +603,7 @@ struct TensorEvaluator<const TensorCwiseBinaryOp<BinaryOp, LeftArgType, RightArg } #endif private: - const Device m_device; + const Device EIGEN_DEVICE_REF m_device; const BinaryOp m_functor; TensorEvaluator<LeftArgType, Device> m_leftImpl; TensorEvaluator<RightArgType, Device> m_rightImpl; diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h b/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h index 27a15bfb2..efd6a7557 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h @@ -182,7 +182,7 @@ struct TensorEvaluator<const TensorForcedEvalOp<ArgType_>, Device> private: TensorEvaluator<ArgType, Device> m_impl; const ArgType m_op; - const Device m_device; + const Device EIGEN_DEVICE_REF m_device; EvaluatorPointerType m_buffer; }; |