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