File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
include/cuco/detail/hyperloglog Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ namespace cuco::detail {
5454template <class T , cuda::thread_scope Scope, class Hash >
5555class hyperloglog_impl {
5656 // We use `int` here since this is the smallest type that supports native `atomicMax` on GPUs
57- using fp_type = double ; // /< Floating point type used for reduction
58- using hash_value_type =
59- decltype ( cuda::std::declval<Hash>()(cuda::std::declval< T>())); // /< Hash value type
57+ using fp_type = double ; // /< Floating point type used for reduction
58+ using hash_value_type = cuda::std:: remove_cvref_t < decltype (cuda::std::declval<Hash>()(
59+ cuda::std::declval<T>()))> ; // /< Hash value type
6060 public:
6161 static constexpr auto thread_scope = Scope; // /< CUDA thread scope
6262
Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ ConfigureTest(DYNAMIC_BITSET_TEST
146146ConfigureTest(HYPERLOGLOG_TEST
147147 hyperloglog/unique_sequence_test.cu
148148 hyperloglog/spark_parity_test.cu
149- hyperloglog/device_ref_test.cu)
149+ hyperloglog/device_ref_test.cu
150+ hyperloglog/type_deduction_test.cu)
150151
151152###################################################################################################
152153# - bloom_filter ----------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments