cuda.bindings._v2.driver.MemCpy3d_v2#
- class cuda.bindings._v2.driver.MemCpy3d_v2#
Empty-initialize an instance of CUDA_MEMCPY3D_v2.
See also
CUDA_MEMCPY3D_v2
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an MemCpy3d_v2 instance with the memory from the given buffer.
from_data(data)Create an MemCpy3d_v2 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an MemCpy3d_v2 instance wrapping the given pointer.
Attributes
depthint:
dst_arrayint:
dst_deviceint:
dst_heightint:
dst_hostint:
dst_lodint:
dst_memory_typeint:
dst_pitchint:
dst_x_in_bytesint:
dst_yint:
dst_zint:
heightint:
ptrGet the pointer address to the data as Python
int.src_arrayint:
src_deviceint:
src_heightint:
src_hostint:
src_lodint:
src_memory_typeint:
src_pitchint:
src_x_in_bytesint:
src_yint:
src_zint:
width_in_bytesint: