gtopt::GpuMonitor::Nvml struct

dlopen'd NVML function table + cached per-device handles (pimpl).

Constructors, destructors, conversion operators

Nvml() defaulted
Nvml(const Nvml&) deleted
Nvml(Nvml&&) deleted
~Nvml()

Public functions

auto operator=(const Nvml&) -> Nvml& deleted
auto operator=(Nvml&&) -> Nvml& deleted

Public variables

std::vector<nvmlDevice_t> devices
void* handle
nvmlDeviceGetMemoryInfo_fn mem_info
nvmlShutdown_fn shutdown
nvmlDeviceGetUtilizationRates_fn util_rates