Context and Stream manager - Redmine #3316
Context and stream manager that will be able to take over the responsibility and ownership of all streams and context. Currently, streams are created and managed in the respective modules, which requires passing them over from one module to another (e.g. when H2D and D2H copies are issued). All the management should be taken over by a new object, simplifying the logic inside the respective modules.
(from redmine: issue id 3316, created on 2020-01-22 by artemzhmurov)
- Relations:
- parent #3313 (closed)
- Changesets:
- Revision 99f4253d by Artem Zhmurov on 2020-03-23T03:46:37Z:
Introduce DeviceStreamManager
Make a separate object that will be handling the creation,
management and destruction of the GPU context and streams.
It is detached from the rest of the code in this patch,
but will be attached in the follow-up.
Refs #3316
Refs #3311
Change-Id: I2c59b930ac266d89fafe9e0172b83f07e9858f0b