Gromacs  2022.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
test_hardware_environment.cpp File Reference
#include "gmxpre.h"
#include "testutils/test_hardware_environment.h"
#include <memory>
#include <mutex>
#include "gromacs/gpu_utils/gpu_utils.h"
#include "gromacs/hardware/detecthardware.h"
#include "gromacs/hardware/device_management.h"
#include "gromacs/hardware/hw_info.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/physicalnodecommunicator.h"
+ Include dependency graph for test_hardware_environment.cpp:

Description

Implements test environment class which performs hardware enumeration for unit tests.

Author
Aleksei Iupinov a.yup.nosp@m.inov.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Artem Zhmurov zhmur.nosp@m.ov@g.nosp@m.mail..nosp@m.com

Functions

const TestHardwareEnvironment * gmx::test::getTestHardwareEnvironment ()
 Get the global test environment.
 

Variables

static std::mutex gmx::test::s_testHardwareEnvironmentMutex
 Mutex for making the test hardware environment.
 
static std::unique_ptr
< TestHardwareEnvironment > 
gmx::test::s_testHardwareEnvironment
 The test hardware environment.