cuda.bindings._v2.driver.Array3dDescriptor_v2#

class cuda.bindings._v2.driver.Array3dDescriptor_v2#

Empty-initialize an instance of CUDA_ARRAY3D_DESCRIPTOR_v2.

See also

CUDA_ARRAY3D_DESCRIPTOR_v2

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an Array3dDescriptor_v2 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an Array3dDescriptor_v2 instance wrapping the given pointer.

Attributes

depth

int:

flags_

int:

format

int:

height

int:

num_channels

int:

ptr

Get the pointer address to the data as Python int.

width

int: