cuda.bindings._v2.driver.MemAllocationProp_v1#
- class cuda.bindings._v2.driver.MemAllocationProp_v1#
Empty-initialize an instance of CUmemAllocationProp_v1.
See also
CUmemAllocationProp_v1
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an MemAllocationProp_v1 instance with the memory from the given buffer.
from_data(data)Create an MemAllocationProp_v1 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an MemAllocationProp_v1 instance wrapping the given pointer.
Attributes
alloc_flags_py_anon_pod39:
locationMemLocation_v1:
ptrGet the pointer address to the data as Python
int.requested_handle_typesint:
typeint:
win32handle_meta_dataint: