Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
testhardwarecontexts.cpp File Reference
#include "gmxpre.h"
#include "testhardwarecontexts.h"
#include <memory>
#include "gromacs/ewald/pme.h"
#include "gromacs/gpu_utils/gpu_utils.h"
#include "gromacs/hardware/detecthardware.h"
#include "gromacs/hardware/hw_info.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/loggerbuilder.h"
#include "gromacs/utility/physicalnodecommunicator.h"
+ Include dependency graph for testhardwarecontexts.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

Functions

const char * gmx::test::codePathToString (CodePath codePath)
 Return a string useful for human-readable messages describing a codePath.
 
const PmeTestEnvironment * gmx::test::getPmeTestEnv ()
 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. More...
 
static gmx_hw_info_t * gmx::test::hardwareInit ()
 Simple hardware initialization.