fml  0.1-0
Fused Matrix Library
fml::nvml Namespace Reference

NVIDIA Management Library (NVML) interface. Exceptions
Each function can throw a 'runtime_error' exception. More...

Namespaces

 device
 NVML queries against GPU devices.
 
 system
 NVML queries against the system, independent of any GPU devices.
 

Functions

void init ()
 Initialize NVML. More...
 
void shutdown ()
 Shut down NVML. More...
 

Detailed Description

NVIDIA Management Library (NVML) interface. Exceptions
Each function can throw a 'runtime_error' exception.

Function Documentation

◆ init()

void fml::nvml::init ( )
inline

Initialize NVML.

Call once before calling other NVML methods.

◆ shutdown()

void fml::nvml::shutdown ( )
inline

Shut down NVML.

Call when you are finished.