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

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

Functions

int get_cuda_driver_version ()
 System CUDA driver version. More...
 
std::string get_driver_version ()
 System graphics driver version.
 
std::string get_nvml_version ()
 Version of the NVML library.
 
std::string get_process_name (unsigned int pid)
 Process name. More...
 

Detailed Description

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

Only query methods are available.

Function Documentation

◆ get_cuda_driver_version()

int fml::nvml::system::get_cuda_driver_version ( )
inline

System CUDA driver version.

Returns
The version is encoded as (major*1000) + (minor*10).

◆ get_process_name()

std::string fml::nvml::system::get_process_name ( unsigned int  pid)
inline

Process name.

Parameters
[in]pidProcess ID.
Returns
Process name.