mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Improved a previous fix
This commit is contained in:
@@ -116,7 +116,7 @@ struct TensorEvaluator<const TensorForcedEvalOp<ArgType>, Device>
|
|||||||
}
|
}
|
||||||
typedef TensorEvalToOp<const ArgType> EvalTo;
|
typedef TensorEvalToOp<const ArgType> EvalTo;
|
||||||
EvalTo evalToTmp(m_buffer, m_op);
|
EvalTo evalToTmp(m_buffer, m_op);
|
||||||
static const bool PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess;
|
static const bool PacketAccess = internal::IsVectorizable<Device, ArgType>::value;
|
||||||
internal::TensorExecutor<const EvalTo, Device, PacketAccess>::run(evalToTmp, m_device);
|
internal::TensorExecutor<const EvalTo, Device, PacketAccess>::run(evalToTmp, m_device);
|
||||||
m_impl.cleanup();
|
m_impl.cleanup();
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user