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