Added missing EIGEN_DEVICE_FUNC qualifier

This commit is contained in:
Benoit Steiner 2016-01-24 20:36:05 -08:00
parent acf6f7af6b
commit bd207ce11e

View File

@ -136,7 +136,7 @@ struct TensorEvaluator<const TensorEvalToOp<ArgType>, Device>
}
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);
}