@@ -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
- cub::detail:: conditional_t <Traits<T>::PRIMITIVE, fixed_delay_constructor_t <350 , 450 >, default_no_delay_constructor_t >;
479
+ ::cuda::std:: __conditional_t <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
- detail:: 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:: __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>>>;
489
489
} // namespace detail
490
490
491
491
/* *
@@ -503,16 +503,16 @@ template <typename T>
503
503
struct ScanTileState <T, true >
504
504
{
505
505
// Status word type
506
- using StatusWord = cub::detail:: conditional_t <
506
+ using StatusWord = ::cuda::std:: __conditional_t <
507
507
sizeof (T) == 8 ,
508
508
unsigned long long ,
509
- cub::detail:: conditional_t <sizeof (T) == 4 ,
510
- unsigned int ,
511
- cub::detail:: conditional_t <sizeof (T) == 2 , unsigned short , unsigned char >>>;
509
+ ::cuda::std:: __conditional_t <sizeof (T) == 4 ,
510
+ unsigned int ,
511
+ ::cuda::std:: __conditional_t <sizeof (T) == 2 , unsigned short , unsigned char >>>;
512
512
513
513
// Unit word type
514
- using TxnWord = cub::detail ::
515
- conditional_t <sizeof (T) == 8 , ulonglong2 , cub::detail:: conditional_t <sizeof (T) == 4 , uint2 , unsigned int >>;
514
+ using TxnWord = ::cuda::std ::
515
+ __conditional_t <sizeof (T) == 8 , ulonglong2 , ::cuda::std:: __conditional_t <sizeof (T) == 4 , uint2 , unsigned int >>;
516
516
517
517
// Device word type
518
518
struct TileDescriptor
@@ -889,18 +889,18 @@ struct ReduceByKeyScanTileState<ValueT, KeyT, true>
889
889
};
890
890
891
891
// Status word type
892
- using StatusWord = cub::detail:: conditional_t <
892
+ using StatusWord = ::cuda::std:: __conditional_t <
893
893
STATUS_WORD_SIZE == 8 ,
894
894
unsigned long long ,
895
- cub::detail:: conditional_t <STATUS_WORD_SIZE == 4 ,
896
- unsigned int ,
897
- cub::detail:: conditional_t <STATUS_WORD_SIZE == 2 , unsigned short , unsigned char >>>;
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 >>>;
898
898
899
899
// Status word type
900
900
using TxnWord =
901
- cub::detail:: conditional_t <TXN_WORD_SIZE == 16 ,
902
- ulonglong2 ,
903
- cub::detail:: conditional_t <TXN_WORD_SIZE == 8 , unsigned long long , unsigned int >>;
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 >>;
904
904
905
905
// Device word type (for when sizeof(ValueT) == sizeof(KeyT))
906
906
struct TileDescriptorBigStatus
@@ -920,7 +920,7 @@ struct ReduceByKeyScanTileState<ValueT, KeyT, true>
920
920
921
921
// Device word type
922
922
using TileDescriptor =
923
- cub::detail:: conditional_t <sizeof (ValueT) == sizeof (KeyT), TileDescriptorBigStatus, TileDescriptorLittleStatus>;
923
+ ::cuda::std:: __conditional_t <sizeof (ValueT) == sizeof (KeyT), TileDescriptorBigStatus, TileDescriptorLittleStatus>;
924
924
925
925
// Device storage
926
926
TxnWord* d_tile_descriptors;
0 commit comments