Skip to content

Commit

Permalink
Add barrier.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmr committed Oct 26, 2023
1 parent edc8530 commit 9d472b3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ inline void SparseMV_cuSparseMPI(
length_local, reduce_root_rank,
"sum");
}
PL_CUDA_IS_SUCCESS(cudaDeviceSynchronize());
mpi_manager.Barrier();
}
mpi_manager.Barrier();
}

} // namespace Pennylane::LightningGPU::Util

0 comments on commit 9d472b3

Please sign in to comment.