Gromacs
2022
|
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, bool havePpDomainDecomposition, SimulationWorkload simulationWork, bool useTiming) | |
Constructor. More... | |
Public Attributes | |
DeviceContext | context_ |
Device context. | |
EnumerationArray < DeviceStreamType, std::unique_ptr< DeviceStream > > | streams_ |
GPU command streams. | |
gmx::DeviceStreamManager::Impl::Impl | ( | const DeviceInformation & | deviceInfo, |
bool | havePpDomainDecomposition, | ||
SimulationWorkload | simulationWork, | ||
bool | useTiming | ||
) |
Constructor.
InternalError | If any of the required resources could not be initialized. |