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::TestDevice Class Reference

#include <testutils/test_device.h>

Description

A structure to describe a hardware context that persists over the lifetime of the test binary.

Public Member Functions

std::string description () const
 Returns a human-readable context description line.
 
const DeviceInformationdeviceInfo () const
 Returns the device info pointer.
 
const DeviceContext & deviceContext () const
 Get the device context.
 
const DeviceStreamdeviceStream () const
 Get the device stream.
 
 TestDevice (const char *description, const DeviceInformation &deviceInfo)
 Creates the device context and stream for tests on the GPU.
 
 ~TestDevice ()
 Destructor.
 

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