@@ -476,16 +476,16 @@ using default_no_delay_t = default_no_delay_constructor_t::delay_t;
476
476
477
477
template <class T >
478
478
using default_delay_constructor_t =
479
- ::cuda::std::__conditional_t <Traits<T>::PRIMITIVE, fixed_delay_constructor_t <350 , 450 >, default_no_delay_constructor_t >;
479
+ ::cuda::std::_If <Traits<T>::PRIMITIVE, fixed_delay_constructor_t <350 , 450 >, default_no_delay_constructor_t >;
480
480
481
481
template <class T >
482
482
using default_delay_t = typename default_delay_constructor_t <T>::delay_t ;
483
483
484
484
template <class KeyT , class ValueT >
485
485
using default_reduce_by_key_delay_constructor_t =
486
- ::cuda::std::__conditional_t <(Traits<ValueT>::PRIMITIVE) && (sizeof (ValueT) + sizeof (KeyT) < 16 ),
487
- reduce_by_key_delay_constructor_t <350 , 450 >,
488
- default_delay_constructor_t <KeyValuePair<KeyT, ValueT>>>;
486
+ ::cuda::std::_If <(Traits<ValueT>::PRIMITIVE) && (sizeof (ValueT) + sizeof (KeyT) < 16 ),
487
+ reduce_by_key_delay_constructor_t <350 , 450 >,
488
+ default_delay_constructor_t <KeyValuePair<KeyT, ValueT>>>;
489
489
} // namespace detail
490
490
491
491
/* *
@@ -503,16 +503,13 @@ template <typename T>
503
503
struct ScanTileState <T, true >
504
504
{
505
505
// Status word type
506
- using StatusWord = ::cuda::std::__conditional_t <
506
+ using StatusWord = ::cuda::std::_If <
507
507
sizeof (T) == 8 ,
508
508
unsigned long long ,
509
- ::cuda::std::__conditional_t <sizeof (T) == 4 ,
510
- unsigned int ,
511
- ::cuda::std::__conditional_t <sizeof (T) == 2 , unsigned short , unsigned char >>>;
509
+ ::cuda::std::_If<sizeof (T) == 4 , unsigned int , ::cuda::std::_If<sizeof (T) == 2 , unsigned short , unsigned char >>>;
512
510
513
511
// Unit word type
514
- using TxnWord = ::cuda::std::
515
- __conditional_t <sizeof (T) == 8 , ulonglong2 , ::cuda::std::__conditional_t <sizeof (T) == 4 , uint2 , unsigned int >>;
512
+ using TxnWord = ::cuda::std::_If<sizeof (T) == 8 , ulonglong2 , ::cuda::std::_If<sizeof (T) == 4 , uint2 , unsigned int >>;
516
513
517
514
// Device word type
518
515
struct TileDescriptor
@@ -889,18 +886,15 @@ struct ReduceByKeyScanTileState<ValueT, KeyT, true>
889
886
};
890
887
891
888
// Status word type
892
- using StatusWord = ::cuda::std::__conditional_t <
889
+ using StatusWord = ::cuda::std::_If <
893
890
STATUS_WORD_SIZE == 8 ,
894
891
unsigned long long ,
895
- ::cuda::std::__conditional_t <STATUS_WORD_SIZE == 4 ,
896
- unsigned int ,
897
- ::cuda::std::__conditional_t <STATUS_WORD_SIZE == 2 , unsigned short , unsigned char >>>;
892
+ ::cuda::std::
893
+ _If<STATUS_WORD_SIZE == 4 , unsigned int , ::cuda::std::_If<STATUS_WORD_SIZE == 2 , unsigned short , unsigned char >>>;
898
894
899
895
// Status word type
900
- using TxnWord =
901
- ::cuda::std::__conditional_t <TXN_WORD_SIZE == 16 ,
902
- ulonglong2 ,
903
- ::cuda::std::__conditional_t <TXN_WORD_SIZE == 8 , unsigned long long , unsigned int >>;
896
+ using TxnWord = ::cuda::std::
897
+ _If<TXN_WORD_SIZE == 16 , ulonglong2 , ::cuda::std::_If<TXN_WORD_SIZE == 8 , unsigned long long , unsigned int >>;
904
898
905
899
// Device word type (for when sizeof(ValueT) == sizeof(KeyT))
906
900
struct TileDescriptorBigStatus
@@ -920,7 +914,7 @@ struct ReduceByKeyScanTileState<ValueT, KeyT, true>
920
914
921
915
// Device word type
922
916
using TileDescriptor =
923
- ::cuda::std::__conditional_t <sizeof (ValueT) == sizeof (KeyT), TileDescriptorBigStatus, TileDescriptorLittleStatus>;
917
+ ::cuda::std::_If <sizeof (ValueT) == sizeof (KeyT), TileDescriptorBigStatus, TileDescriptorLittleStatus>;
924
918
925
919
// Device storage
926
920
TxnWord* d_tile_descriptors;
0 commit comments