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_countint:
gpu_instance_slice_countint:
memory_size_mbint:
multiprocessor_countint:
ptrGet the pointer address to the data as Python
int.shared_copy_engine_countint:
shared_decoder_countint:
shared_encoder_countint:
shared_jpeg_countint:
shared_ofa_countint: