mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
Improved a previous fix
This commit is contained in:
parent
56e155dd60
commit
4ed213f97b
@ -116,7 +116,7 @@ struct TensorEvaluator<const TensorForcedEvalOp<ArgType>, Device>
|
||||
}
|
||||
typedef TensorEvalToOp<const ArgType> EvalTo;
|
||||
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);
|
||||
m_impl.cleanup();
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user