Gromacs
2018.2
|
#include <gromacs/ewald/tests/testhardwarecontexts.h>
A structure to describe a hardware context - an abstraction over gmx_device_info_t with a human-readable string. TODO: currently this does not know which CodePath it belongs too. It probably should! That would save us one loop in all the PME tests.
Public Member Functions | |
std::string | getDescription () const |
Returns a human-readable context description line. | |
gmx_device_info_t * | getDeviceInfo () const |
Returns the device info pointer. | |
TestHardwareContext (const char *description, gmx_device_info_t *deviceInfo) | |
Constructs the context. | |
Public Attributes | |
std::string | description_ |
Readable description. | |
gmx_device_info_t * | deviceInfo_ |
Device information pointer. | |