Gromacs  2023.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::DeviceStreamManager::Impl Class Reference
+ Collaboration diagram for gmx::DeviceStreamManager::Impl:

Description

Impl class to manages the lifetime of the GPU streams.

If supported by the GPU API, the available runtime and the indicated device, some streams will be configured at high priority. Otherwise, all streams will share the default priority appropriate to the situation.

Public Member Functions

 Impl (const DeviceInformation &deviceInfo, SimulationWorkload simulationWork, bool useTiming)
 Constructor. More...
 

Public Attributes

DeviceContext context_
 Device context.
 
EnumerationArray
< DeviceStreamType,
std::unique_ptr< DeviceStream > > 
streams_
 GPU command streams.
 
const bool havePpDomainDecomposition_ = false
 Whether PP domain decomposition is active.
 

Constructor & Destructor Documentation

gmx::DeviceStreamManager::Impl::Impl ( const DeviceInformation deviceInfo,
SimulationWorkload  simulationWork,
bool  useTiming 
)

Constructor.

Exceptions
InternalErrorIf any of the required resources could not be initialized.

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