Skip to content

Commit

Permalink
Fix MSVC 2017 / radix sort
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed May 31, 2023
1 parent 61a570e commit f3ae017
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions cub/block/radix_rank_sort_operations.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -222,20 +222,9 @@ struct is_tuple_of_references_to_fundamental_types_t< //
: ::cuda::std::true_type
{};

template <class KeyT, class DecomposerT, class = void>
struct decomposer_check_t : ::cuda::std::false_type
{};

template <class KeyT, class DecomposerT>
struct decomposer_check_t<KeyT,
DecomposerT,
typename ::cuda::std::enable_if< //
is_tuple_of_references_to_fundamental_types_t< //
invoke_result_t<DecomposerT, KeyT &>>::value //
>::type //
> //
: ::cuda::std::true_type
{};
using decomposer_check_t =
is_tuple_of_references_to_fundamental_types_t<invoke_result_t<DecomposerT, KeyT &>>;

template <class T>
struct bit_ordered_conversion_policy_t
Expand Down

0 comments on commit f3ae017

Please sign in to comment.