class

Sysinfo::Nvml

Inherits Reference < Object

NVML function pointers resolved once in initialize; values are read through opaque byte buffers with documented offsets (the same trick the darwin backend uses), so no NVML headers are needed. Every NVML call returns nvmlReturn_t; 0 = success.

Constants

NVML_LIBRARIES = ["libnvidia-ml.so.1", "libnvidia-ml.so"] of String
TEMPERATURE_GPU = 0_u32

NVML_TEMPERATURE_GPU (nvml.h)

Constructors

Instance methods

read_all
Source