Skip to content

Commit

Permalink
Merge branch 'branch-24.06' into custom-rapids-cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel authored Mar 26, 2024
2 parents ccb9fd5 + 03b24cf commit 08dc844
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ class hash_strategy : public coo_spmv_strategy<value_idx, value_t, tpb> {
return insert_type::make_from_uninitialized_slots(cooperative_groups::this_thread_block(),
cache,
cache_size,
cuco::sentinel::empty_key{value_idx{-1}},
cuco::sentinel::empty_value{value_t{0}});
cuco::empty_key{value_idx{-1}},
cuco::empty_value{value_t{0}});
}

__device__ inline void insert(insert_type cache, const value_idx& key, const value_t& value)
Expand All @@ -247,10 +247,8 @@ class hash_strategy : public coo_spmv_strategy<value_idx, value_t, tpb> {

__device__ inline find_type init_find(smem_type cache, const value_idx& cache_size)
{
return find_type(cache,
cache_size,
cuco::sentinel::empty_key{value_idx{-1}},
cuco::sentinel::empty_value{value_t{0}});
return find_type(
cache, cache_size, cuco::empty_key{value_idx{-1}}, cuco::empty_value{value_t{0}});
}

__device__ inline value_t find(find_type cache, const value_idx& key)
Expand Down

0 comments on commit 08dc844

Please sign in to comment.