cuda.bindings._v2.driver.MemAllocNodeParams_v2#
- class cuda.bindings._v2.driver.MemAllocNodeParams_v2#
Empty-initialize an instance of CUDA_MEM_ALLOC_NODE_PARAMS_v2.
See also
CUDA_MEM_ALLOC_NODE_PARAMS_v2
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an MemAllocNodeParams_v2 instance with the memory from the given buffer.
from_data(data)Create an MemAllocNodeParams_v2 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an MemAllocNodeParams_v2 instance wrapping the given pointer.
Attributes
access_desc_countint:
access_descsint:
bytesizeint:
dptrint:
pool_propsMemPoolProps_v1:
ptrGet the pointer address to the data as Python
int.