|
OpenMPCD
|
Provides information about the system the program is executing on. More...
#include <SystemInformation.hpp>
Classes | |
| struct | CUDADevice |
| Holds properties of a CUDA device. More... | |
Static Public Member Functions | |
| static const std::string | getHostname () |
| Returns the hostname. More... | |
| static std::size_t | getTotalPhysicalMainMemory () |
| Returns the total number of bytes of physical main memory. More... | |
| static const std::vector< CUDADevice > | getCUDADevices () |
| Returns a list of cuda devices. More... | |
Provides information about the system the program is executing on.
Definition at line 18 of file SystemInformation.hpp.
|
static |
Returns a list of cuda devices.
Definition at line 36 of file SystemInformation.cpp.
|
static |
Returns the hostname.
| Exception | Throws on errors. |
Definition at line 12 of file SystemInformation.cpp.
|
static |
Returns the total number of bytes of physical main memory.
| Exception | Throws on errors. |
Definition at line 24 of file SystemInformation.cpp.
1.8.17