diff --git a/sycl/source/detail/stream_impl.cpp b/sycl/source/detail/stream_impl.cpp index a7b57e2e0fbf0..80117b2a1a4e8 100644 --- a/sycl/source/detail/stream_impl.cpp +++ b/sycl/source/detail/stream_impl.cpp @@ -39,6 +39,7 @@ void stream_impl::flush() { range<1>(BufferSize_), id<1>(OffsetSize)); printf("%s", HostAcc.get_pointer()); + fflush(stdout); } } // namespace detail } // namespace sycl