cuda.bindings._v2.driver.MemCpy3dBatchOp_v1#

class cuda.bindings._v2.driver.MemCpy3dBatchOp_v1(size=1)#

Empty-initialize an array of CUDA_MEMCPY3D_BATCH_OP_v1. The resulting object is of length size and of dtype mem_cpy3d_batch_op_v1_dtype. If default-constructed, the instance represents a single struct.

Parameters:

size (int) – number of structs, default=1.

See also

CUDA_MEMCPY3D_BATCH_OP_v1

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an MemCpy3dBatchOp_v1 instance with the memory from the given buffer.

from_data(data)

Create an MemCpy3dBatchOp_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, size_t size=1, ...[, ...])

Create an MemCpy3dBatchOp_v1 instance wrapping the given pointer.

Attributes

dst

MemCpy3dOperand_v1:

extent

Extent3D_v1:

flags_

Union[~_numpy.uint32, int]:

ptr

Get the pointer address to the data as Python int.

src

MemCpy3dOperand_v1:

src_access_order

Union[~_numpy.int32, int]: