cuda.bindings._v2.driver.MemDecompressParams#
- class cuda.bindings._v2.driver.MemDecompressParams(size=1)#
Empty-initialize an array of CUmemDecompressParams. The resulting object is of length size and of dtype mem_decompress_params_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
CUmemDecompressParams
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an MemDecompressParams instance with the memory from the given buffer.
from_data(data)Create an MemDecompressParams instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...[, ...])Create an MemDecompressParams instance wrapping the given pointer.
Attributes
algoUnion[~_numpy.int32, int]:
dstUnion[~_numpy.intp, int]:
dst_act_bytesUnion[~_numpy.intp, int]:
dst_num_bytesUnion[~_numpy.uint64, int]:
ptrGet the pointer address to the data as Python
int.srcUnion[~_numpy.intp, int]:
src_num_bytesUnion[~_numpy.uint64, int]: