mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-06 03:57:01 +08:00
Restore C++03 compatibility
This commit is contained in:
parent
cca76c272c
commit
e54dc24d62
@ -100,7 +100,7 @@ struct TensorEvaluator
|
|||||||
// Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding
|
// Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding
|
||||||
// float element will be loaded, otherwise 0 will be loaded.
|
// float element will be loaded, otherwise 0 will be loaded.
|
||||||
// Function has been templatized to enable Sfinae.
|
// Function has been templatized to enable Sfinae.
|
||||||
template <typename PacketReturnTypeT = PacketReturnType> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
template <typename PacketReturnTypeT> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
||||||
typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type
|
typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type
|
||||||
partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const
|
partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const
|
||||||
{
|
{
|
||||||
@ -261,7 +261,7 @@ struct TensorEvaluator<const Derived, Device>
|
|||||||
// Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding
|
// Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding
|
||||||
// float element will be loaded, otherwise 0 will be loaded.
|
// float element will be loaded, otherwise 0 will be loaded.
|
||||||
// Function has been templatized to enable Sfinae.
|
// Function has been templatized to enable Sfinae.
|
||||||
template <typename PacketReturnTypeT = PacketReturnType> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
template <typename PacketReturnTypeT> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
||||||
typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type
|
typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type
|
||||||
partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const
|
partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user