mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Avoid making an unecessary copy of the tensor expression when evaluating it on a GPU device
This commit is contained in:
@@ -144,7 +144,7 @@ template <typename ExpressionType> class TensorDevice<ExpressionType, GpuDevice>
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
const GpuDevice& m_device;
|
const GpuDevice& m_device;
|
||||||
ExpressionType m_expression;
|
ExpressionType& m_expression;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user