Skip to content

Make use of the DeviceStreamManager

Artem Zhmurov requested to merge gpuutils_MakeUseOfDeviceStreamManager into master

Use the DeviceStreamManager throughout the code. The manager is owned by the runner and created when GPU is active. The consumers get the context and streams if needed.

TODOs:

  1. Make builders and move the selection on whether the stream should be created there. The builders should take the manager and pass the context and the stream to the consumer. Builders should have the option to create a stream.
  2. Makefile in ewald tests uses old infrastructure. Also, the device context management should be lifted from there and utilized in all the tests that can run on GPU hardware.

Refs #3316 (closed) Refs #3311 (closed)

From: https://gerrit.gromacs.org/#/c/gromacs/+/16038/

Edited by Artem Zhmurov

Merge request reports