Retain the underlying object types when retrieving the .handle
attribute
#370
Labels
breaking
Breaking changes are introduced
cuda.core
Everything related to the cuda.core module
enhancement
Any code-related improvements
P0
High priority - Must do!
Milestone
Today we always return a Python
int
and erase the type information, e.g.cuda-python/cuda_core/cuda/core/experimental/_stream.py
Lines 140 to 143 in 61ef224
However, it could be possible that users want to retain the underlying
cuda.binding
type so that it can be consumed in, say, Cython:We should keep
.handle
's type, and add.ptr
that returns the type-erased pointer address as Python int.The text was updated successfully, but these errors were encountered: