Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::test::TestHardwareContext Struct Reference

#include <gromacs/ewald/tests/testhardwarecontexts.h>

+ Collaboration diagram for gmx::test::TestHardwareContext:

Description

A structure to describe a hardware context that persists over the lifetime of the test binary - an abstraction over PmeGpuProgram with a human-readable string.

Public Member Functions

CodePath getCodePath () const
 Retuns the code path for this context.
 
std::string getDescription () const
 Returns a human-readable context description line.
 
const gmx_device_info_tgetDeviceInfo () const
 Returns the device info pointer.
 
PmeGpuProgramHandle getPmeGpuProgram () const
 Returns the persistent PME GPU kernels.
 
 TestHardwareContext (CodePath codePath, const char *description, const gmx_device_info_t *deviceInfo)
 Constructs the context.
 

Public Attributes

CodePath codePath_
 Hardware path for the code being tested.
 
std::string description_
 Readable description.
 
const gmx_device_info_tdeviceInfo_
 Device information pointer.
 
PmeGpuProgramStorage program_
 Persistent compiled GPU kernels for PME.
 

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