mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Added missing EIGEN_DEVICE_FUNC qualifier
This commit is contained in:
parent
acf6f7af6b
commit
bd207ce11e
@ -136,7 +136,7 @@ struct TensorEvaluator<const TensorEvalToOp<ArgType>, Device>
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<int LoadMode>
|
template<int LoadMode>
|
||||||
EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
|
||||||
{
|
{
|
||||||
return internal::ploadt<Packet, LoadMode>(m_buffer + index);
|
return internal::ploadt<Packet, LoadMode>(m_buffer + index);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user