cuda.bindings._v2.driver.ArrayMapInfo_v1#
- class cuda.bindings._v2.driver.ArrayMapInfo_v1(size=1)#
Empty-initialize an array of CUarrayMapInfo_v1. The resulting object is of length size and of dtype array_map_info_v1_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
CUarrayMapInfo_v1
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an ArrayMapInfo_v1 instance with the memory from the given buffer.
from_data(data)Create an ArrayMapInfo_v1 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...[, ...])Create an ArrayMapInfo_v1 instance wrapping the given pointer.
Attributes
device_bit_maskUnion[~_numpy.uint32, int]:
flags_Union[~_numpy.uint32, int]:
mem_handle_py_anon_pod36:
mem_handle_typeUnion[~_numpy.int32, int]:
mem_operation_typeUnion[~_numpy.int32, int]:
offsetUnion[~_numpy.uint64, int]:
ptrGet the pointer address to the data as Python
int.resource_py_anon_pod32:
resource_typeUnion[~_numpy.int32, int]:
subresource_py_anon_pod33:
subresource_typeUnion[~_numpy.int32, int]: