Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
gmx::test::anonymous_namespace{device_stream_manager.cpp} Namespace Reference

Classes

class  DeviceStreamManagerTest
 Test fixture. More...
 

Functions

void expectValidStreams (DeviceStreamManager *manager, std::initializer_list< DeviceStreamType > types)
 Helper function to implement readable testing.
 
void expectInvalidStreams (DeviceStreamManager *manager, std::initializer_list< DeviceStreamType > types)
 Helper function to implement readable testing.
 

Variables

const EnumerationArray
< DeviceStreamType,
std::string > 
c_deviceStreamNames
 GPU device stream names for outputs. More...
 
constexpr bool c_canExpectValidStreams = (GMX_GPU != 0)
 Non-GPU builds return nullptr instead of streams, so we have to expect that in such build configurations.
 

Variable Documentation

const EnumerationArray<DeviceStreamType, std::string> gmx::test::anonymous_namespace{device_stream_manager.cpp}::c_deviceStreamNames
Initial value:
= {
{ "non-bonded local", "non-bonded non-local", "PME", "PME-PP transfer", "update" }
}

GPU device stream names for outputs.