Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Added sync after copy sdsdot
Browse files Browse the repository at this point in the history
  • Loading branch information
OuadiElfarouki committed Oct 24, 2023
1 parent be93ca0 commit 1beb096
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interface/blas1_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ typename sb_handle_t::event_t _sdsdot(
if (!_N) {
sb_handle.wait(_dependencies);
auto ret = blas::helper::copy_to_device(sb_handle.get_queue(), &sb, _rs, 1);
sb_handle.wait(ret);
return {ret};
} else {
auto rs = make_vector_view(_rs, static_cast<increment_t>(1),
Expand Down

0 comments on commit 1beb096

Please sign in to comment.