Skip to content

Commit

Permalink
fix: Missing thread sync in CUDA connected components (#4080)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminhuth authored Feb 11, 2025
1 parent e46a352 commit 287bf22
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ __global__ void labelConnectedComponents(std::size_t numEdges,
labelsNext[i] = i;
}

__syncthreads();
bool changed = false;

do {
Expand Down

0 comments on commit 287bf22

Please sign in to comment.