Gromacs
2021-beta2-UNCHECKED
|
Declares the GPU information structure and its helpers.
Classes | |
struct | DeviceInformation |
Platform-dependent device information. More... | |
Enumerations | |
enum | DeviceStatus : int { DeviceStatus::Compatible = 0, DeviceStatus::Nonexistent = 1, DeviceStatus::Incompatible = 2, DeviceStatus::IncompatibleClusterSize = 3, DeviceStatus::IncompatibleNvidiaVolta = 4, DeviceStatus::NonFunctional = 5, DeviceStatus::Unavailable = 6, DeviceStatus::Count = 7 } |
Possible results of the GPU detection/check. More... | |
enum | DeviceVendor : int { DeviceVendor::Unknown = 0, DeviceVendor::Nvidia = 1, DeviceVendor::Amd = 2, DeviceVendor::Intel = 3, DeviceVendor::Count = 4 } |
Device vendors. More... | |
Variables | |
static constexpr bool | c_binarySupportsGpus = (GMX_GPU != 0) |
Constant used to help minimize preprocessed code. | |
static constexpr bool | c_canSerializeDeviceInformation |
static const gmx::EnumerationArray < DeviceStatus, const char * > | c_deviceStateString |
Names of the GPU detection/check results. More... | |
|
strong |
Possible results of the GPU detection/check.
|
strong |
|
static |
|
static |
Names of the GPU detection/check results.
Check-source wants to warn about the use of a symbol name that would require an inclusion of config.h. However the use is in a comment, so that is a false warning. So C-style string concatenation is used to fool the naive parser in check-source. That needs a clang-format suppression in order to look reasonable. Also clang-tidy wants to suggest that a comma is missing, so that is suppressed.