Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cuda_bindings/cuda/bindings/driver.pyx.in
Original file line number Diff line number Diff line change
Expand Up @@ -7101,8 +7101,11 @@ cdef class CUstream:
return <void_ptr>self._pvt_ptr[0]
def getPtr(self):
return <void_ptr>self._pvt_ptr
def __cuda_stream__(self):
return (0, <uintptr_t><void_ptr>(self._pvt_ptr[0]))
{{endif}}


Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix this in a follow up PR on the codegen side.

Suggested change

{{if 'CUgraphicsResource' in found_types}}

cdef class CUgraphicsResource:
Expand Down