Gromacs
2024.4
|
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. | |
gmx::DeviceStreamManager::Impl::Impl | ( | const DeviceInformation & | deviceInfo, |
SimulationWorkload | simulationWork, | ||
bool | useTiming | ||
) |
Constructor.
InternalError | If any of the required resources could not be initialized. |