diff --git a/src/interface/blas1_interface.hpp b/src/interface/blas1_interface.hpp index a98e7b3c7..bb1592a2a 100644 --- a/src/interface/blas1_interface.hpp +++ b/src/interface/blas1_interface.hpp @@ -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(1),