@@ -125,8 +125,11 @@ __global__ void __launch_bounds__(block_size)
125125 column_device_view const & data_col = *col->leaf_column ;
126126
127127 // Make a view of the hash map
128- auto hash_map_mutable = map_type::device_mutable_view (
129- chunk->dict_map_slots , chunk->dict_map_size , KEY_SENTINEL, VALUE_SENTINEL);
128+ auto hash_map_mutable =
129+ map_type::device_mutable_view (chunk->dict_map_slots ,
130+ chunk->dict_map_size ,
131+ cuco::sentinel::empty_key{KEY_SENTINEL},
132+ cuco::sentinel::empty_value{VALUE_SENTINEL});
130133
131134 __shared__ size_type total_num_dict_entries;
132135 size_type val_idx = s_start_value_idx + t;
@@ -184,9 +187,11 @@ __global__ void __launch_bounds__(block_size)
184187 auto & chunk = chunks[blockIdx .x ];
185188 if (not chunk.use_dictionary ) { return ; }
186189
187- auto t = threadIdx .x ;
188- auto map =
189- map_type::device_view (chunk.dict_map_slots , chunk.dict_map_size , KEY_SENTINEL, VALUE_SENTINEL);
190+ auto t = threadIdx .x ;
191+ auto map = map_type::device_view (chunk.dict_map_slots ,
192+ chunk.dict_map_size ,
193+ cuco::sentinel::empty_key{KEY_SENTINEL},
194+ cuco::sentinel::empty_value{VALUE_SENTINEL});
190195
191196 __shared__ cuda::atomic<size_type, cuda::thread_scope_block> counter;
192197 using cuda::std::memory_order_relaxed;
@@ -233,8 +238,10 @@ __global__ void __launch_bounds__(block_size)
233238
234239 column_device_view const & data_col = *col->leaf_column ;
235240
236- auto map = map_type::device_view (
237- chunk->dict_map_slots , chunk->dict_map_size , KEY_SENTINEL, VALUE_SENTINEL);
241+ auto map = map_type::device_view (chunk->dict_map_slots ,
242+ chunk->dict_map_size ,
243+ cuco::sentinel::empty_key{KEY_SENTINEL},
244+ cuco::sentinel::empty_value{VALUE_SENTINEL});
238245
239246 auto val_idx = s_start_value_idx + t;
240247 while (val_idx < end_value_idx) {
0 commit comments