cuda.bindings.nvml.ConfComputeMemSizeInfo#

class cuda.bindings.nvml.ConfComputeMemSizeInfo#

Empty-initialize an instance of nvmlConfComputeMemSizeInfo_t.

See also

nvmlConfComputeMemSizeInfo_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an ConfComputeMemSizeInfo instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an ConfComputeMemSizeInfo instance wrapping the given pointer.

Attributes

protected_mem_size_kib

int:

ptr

Get the pointer address to the data as Python int.

unprotected_mem_size_kib

int: