Apache Mesos
Namespaces | Functions
nvml.hpp File Reference
#include <nvidia/gdk/nvml.h>
#include <string>
#include <stout/nothing.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 nvml
 

Functions

bool nvml::isAvailable ()
 
Try< Nothingnvml::initialize ()
 
Try< std::string > nvml::systemGetDriverVersion ()
 
Try< unsigned int > nvml::deviceGetCount ()
 
Try< nvmlDevice_t > nvml::deviceGetHandleByIndex (unsigned int index)
 
Try< unsigned int > nvml::deviceGetMinorNumber (nvmlDevice_t handle)