From d0254e4c5c89c79cd1986b1ae33d2a8d1e4f9710 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sat, 3 Aug 2024 12:58:02 -0700 Subject: [PATCH] fix use of `cudaStream_t` as if it were a stream wrapper (#2190) --- cudax/include/cuda/experimental/__stream/stream.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cudax/include/cuda/experimental/__stream/stream.cuh b/cudax/include/cuda/experimental/__stream/stream.cuh index 6d207f5ed46..4859e9fabcb 100644 --- a/cudax/include/cuda/experimental/__stream/stream.cuh +++ b/cudax/include/cuda/experimental/__stream/stream.cuh @@ -151,7 +151,7 @@ struct stream : stream_ref { // TODO consider an optimization to not create an event every time and instead have one persistent event or one per // stream - assert(__stream.get() != detail::invalid_stream); + assert(__stream != detail::invalid_stream); event __tmp(__other); wait(__tmp); }