Skip to content

Commit

Permalink
Fixed an issue where an incorrect result would sometimes be returned …
Browse files Browse the repository at this point in the history
…due to what appears to be an issue with synchronization. (#20)
  • Loading branch information
elbriggs committed Jun 25, 2024
1 parent 417b377 commit 871585f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tiled-MM/tiled_mm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ void round_robin(tiled_matrix<Scalar>& a_host, tiled_matrix<Scalar>& b_host, til
// perform dgemm
// cublasSetStream(get_blas_handle(stream_id), streams[stream_id].stream());
// std::cout << "performing dgemm" << std::endl;
if (k_tile_id == 0 && std::abs(beta) > 0) {
if (k_tile_id == 0) {
current_stream.wait_on_event(c_copied_to_host[stream_id]);
}

Expand Down

0 comments on commit 871585f

Please sign in to comment.