Skip to content

Commit 201d3fc

Browse files
committed
Remove wait from list of suggested Stream APIs:
#484 (comment) Right now, if one wants to create a stream from a protocol-supported object, the intended way is to do `s = Device().create_stream(object_with_dunder_cuda_stream)`.
1 parent eda324f commit 201d3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_core/cuda/core/experimental/_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def close(self):
7474
def __new__(self, *args, **kwargs):
7575
raise RuntimeError(
7676
"Stream objects cannot be instantiated directly. "
77-
"Please use Device APIs (create_stream) or other Stream APIs (from_handle, wait)."
77+
"Please use Device APIs (create_stream) or other Stream APIs (from_handle)."
7878
)
7979

8080
__slots__ = ("__weakref__", "_mnff", "_nonblocking", "_priority", "_device_id", "_ctx_handle")

0 commit comments

Comments
 (0)