Skip to content

Commit

Permalink
Fix a build warning with ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel authored Jun 12, 2024
1 parent 03304a3 commit 5bed9f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/cuco/detail/static_map_kernels.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,10 @@ CUCO_KERNEL void find(
auto tile = cg::tiled_partition<tile_size>(cg::this_thread_block());
int64_t const loop_stride = gridDim.x * block_size / tile_size;
int64_t idx = (block_size * blockIdx.x + threadIdx.x) / tile_size;
#pragma nv_diagnostic push
#pragma nv_diag_suppress static_var_with_dynamic_init
__shared__ Value writeBuffer[block_size / tile_size];
#pragma nv_diagnostic pop

while (idx < n) {
auto key = *(first + idx);
Expand Down

0 comments on commit 5bed9f7

Please sign in to comment.