mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
Added missing EIGEN_DEVICE_FUNC to the tensor conversion code.
This commit is contained in:
parent
a6d08be9b2
commit
7d5b17087f
@ -87,6 +87,7 @@ struct PacketConverter<TensorEvaluator, SrcPacket, TgtPacket, 2, 1> {
|
|||||||
|
|
||||||
template <typename TensorEvaluator, typename SrcPacket, typename TgtPacket>
|
template <typename TensorEvaluator, typename SrcPacket, typename TgtPacket>
|
||||||
struct PacketConverter<TensorEvaluator, SrcPacket, TgtPacket, 4, 1> {
|
struct PacketConverter<TensorEvaluator, SrcPacket, TgtPacket, 4, 1> {
|
||||||
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
||||||
PacketConverter(const TensorEvaluator& impl)
|
PacketConverter(const TensorEvaluator& impl)
|
||||||
: m_impl(impl) {}
|
: m_impl(impl) {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user