This project has retired. For details please refer to its Attic page.
Apache Mesos: src/slave/containerizer/mesos/isolators/gpu/nvml.hpp File Reference
Apache Mesos
Namespaces | Typedefs | Functions
nvml.hpp File Reference
#include <string>
#include <stout/nothing.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 nvml
 

Typedefs

using nvmlDevice_t = int
 

Functions

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

Typedef Documentation

using nvmlDevice_t = int