mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 05:05:58 +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;
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user