Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
test_hardware_environment.cpp File Reference
#include "gmxpre.h"
#include "test_hardware_environment.h"
#include <memory>
#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 test environment.
 
void gmx::test::callAddGlobalTestEnvironment ()
 This constructs the test environment during setup of the unit test so that they can use the hardware context.