gtopt::GpuDeviceState struct

Immutable snapshot of one GPU device's live state (NVML units normalised to MiB / percent).

Public variables

int index
CUDA/NVML ordinal.
double proc_vram_mib
this PID's usedGpuMemory (NVML), 0 if unknown
double util_pct
nvmlDeviceGetUtilizationRates.gpu
double vram_free_mib
double vram_total_mib