mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-03 18:50:39 +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:
|
protected:
|
||||||
const GpuDevice& m_device;
|
const GpuDevice& m_device;
|
||||||
ExpressionType m_expression;
|
ExpressionType& m_expression;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user