Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::test::TestHardwareEnvironment Class Reference

#include <testutils/test_hardware_environment.h>

Inherits Environment.

Description

This class performs one-time test initialization (enumerating the hardware)

Public Member Functions

void SetUp () override
 This is called by GTest framework once to query the hardware.
 
void TearDown () override
 This is called by GTest framework once release the hardware.
 
const std::vector
< std::unique_ptr< TestDevice > > & 
getTestDeviceList () const
 Get available hardware contexts.
 
bool hasCompatibleDevices () const
 Whether the available hardware has any compatible devices.
 
const gmx_hw_info_t * hwinfo () const
 Get available hardware information.
 

The documentation for this class was generated from the following files: