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

depth

int:

dst_array

int:

dst_device

int:

dst_height

int:

dst_host

int:

dst_lod

int:

dst_memory_type

int:

dst_pitch

int:

dst_x_in_bytes

int:

dst_y

int:

dst_z

int:

height

int:

ptr

Get the pointer address to the data as Python int.

src_array

int:

src_device

int:

src_height

int:

src_host

int:

src_lod

int:

src_memory_type

int:

src_pitch

int:

src_x_in_bytes

int:

src_y

int:

src_z

int:

width_in_bytes

int: