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

algo

Union[~_numpy.int32, int]:

dst

Union[~_numpy.intp, int]:

dst_act_bytes

Union[~_numpy.intp, int]:

dst_num_bytes

Union[~_numpy.uint64, int]:

ptr

Get the pointer address to the data as Python int.

src

Union[~_numpy.intp, int]:

src_num_bytes

Union[~_numpy.uint64, int]: