We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 17ca70e + 714091c commit fff600cCopy full SHA for fff600c
cuda_core/cuda/core/experimental/_event.pyx
@@ -183,7 +183,7 @@ cdef class Event:
183
results in undefined behavior. The event handle may be reused by
184
the CUDA driver for new events.
185
"""
186
- return hash(<uintptr_t>(self._handle))
+ return hash(int(self._handle))
187
188
def __eq__(self, other) -> bool:
189
"""Check equality based on the underlying CUevent handle address.
0 commit comments