Gromacs  2021.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
test_hardware_environment.h File Reference
#include <map>
#include <memory>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/utility/gmxassert.h"
#include "testutils/test_device.h"
+ Include dependency graph for test_hardware_environment.h:
+ This graph shows which files directly or indirectly include this file:

Description

Describes 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

Classes

class  gmx::test::TestHardwareEnvironment
 This class performs one-time test initialization (enumerating the hardware) More...
 

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.