Avoid making an unecessary copy of the tensor expression when evaluating it on a GPU device

This commit is contained in:
Benoit Steiner 2015-03-25 14:36:07 -07:00
parent b3343bfdae
commit 4df8b5a75e

View File

@ -144,7 +144,7 @@ template <typename ExpressionType> class TensorDevice<ExpressionType, GpuDevice>
protected:
const GpuDevice& m_device;
ExpressionType m_expression;
ExpressionType& m_expression;
};
#endif