Skip to content

Commit

Permalink
fix use of cudaStream_t as if it were a stream wrapper (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler authored Aug 3, 2024
1 parent a8ca75c commit d0254e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cudax/include/cuda/experimental/__stream/stream.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d0254e4

Please sign in to comment.