Gromacs
2021.4
|
#include <testutils/test_hardware_environment.h>
Inherits Environment.
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. | |