diff --git a/sycl/plugins/cuda/pi_cuda.hpp b/sycl/plugins/cuda/pi_cuda.hpp index d0a7f3a9ed622..feda2c87ff115 100644 --- a/sycl/plugins/cuda/pi_cuda.hpp +++ b/sycl/plugins/cuda/pi_cuda.hpp @@ -466,7 +466,7 @@ struct _pi_queue { bool can_reuse_stream(pi_uint32 stream_token) { // stream token not associated with one of the compute streams if (stream_token == std::numeric_limits::max()) { - return true; + return false; } // If the command represented by the stream token was not the last command // enqueued to the stream we can not reuse the stream - we need to allow for