Skip to content

Commit

Permalink
fix mst bug
Browse files Browse the repository at this point in the history
  • Loading branch information
annielytical committed Dec 7, 2023
1 parent 4906f70 commit 37db5e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/gunrock/algorithms/mst.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ struct enactor_t : gunrock::enactor_t<problem_t> {
add_to_mst, // lambda function
context // context
);

// Need to sync before checking the value of not_decremented
cudaDeviceSynchronize();

// Throw an exception if the number of super vertices has not been
// decremented
Expand Down

0 comments on commit 37db5e7

Please sign in to comment.