Skip to content

Commit

Permalink
fix randomly fail on large size(2nd try)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhdong committed Dec 8, 2024
1 parent fec566a commit 45292f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/sparse/convert/detail/bitmap_to_csr.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ RAFT_KERNEL __launch_bounds__(bitmap_to_csr_tpb)
int l_bits = raft::detail::popc(l_bitmap);
int l_sum_32b = 0;
BlockScan(scan_storage).InclusiveSum(l_bits, l_sum_32b);
__syncthreads();
l_sum = l_sum_32b + g_sum - l_bits;
__syncthreads();

#pragma unroll
for (int i = 0; i < BITS_PER_BITMAP; i++) {
Expand Down

0 comments on commit 45292f0

Please sign in to comment.