cuda.bindings.nvml.DeviceAttributes#

class cuda.bindings.nvml.DeviceAttributes#

Empty-initialize an instance of nvmlDeviceAttributes_t.

See also

nvmlDeviceAttributes_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an DeviceAttributes instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an DeviceAttributes instance wrapping the given pointer.

Attributes

compute_instance_slice_count

int:

gpu_instance_slice_count

int:

memory_size_mb

int:

multiprocessor_count

int:

ptr

Get the pointer address to the data as Python int.

shared_copy_engine_count

int:

shared_decoder_count

int:

shared_encoder_count

int:

shared_jpeg_count

int:

shared_ofa_count

int: