diff options
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h index 0db637405..38c06aba2 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h @@ -841,7 +841,7 @@ struct TensorBlockView { const Scalar* data() const { return m_data; } private: - const Device& m_device; + const Device EIGEN_DEVICE_REF m_device; Dimensions m_block_sizes, m_block_strides; const Scalar* m_data; // Not owned. Scalar* m_allocated_data; // Owned. |