cuda.bindings._v2.driver.MemDecompressParams#

class cuda.bindings._v2.driver.MemDecompressParams#

Empty-initialize an instance of CUmemDecompressParams.

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, bool readonly=False)

Create an MemDecompressParams instance wrapping the given pointer.

Attributes

algo

int:

dst

int:

dst_act_bytes

int:

dst_num_bytes

int:

ptr

Get the pointer address to the data as Python int.

src

int:

src_num_bytes

int: