![]() |
ATLAS Offline Software
|
Service providing CUDA streams to (reentrant) algorithms. More...
#include <SingleStreamSvc.h>
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c IStreamSvc | |
| virtual cudaStream_t | stream (const EventContext &ctx) const override |
| Get the CUDA stream to use. | |
Private Attributes | |
| std::unique_ptr< const Details::Stream > | m_stream |
| Single CUDA stream. | |
Service providing CUDA streams to (reentrant) algorithms.
In a very simple way. By having one CUDA stream. Period.
Definition at line 25 of file SingleStreamSvc.h.
|
overridevirtual |
Initialize the tool.
Definition at line 13 of file SingleStreamSvc.cxx.
|
overridevirtual |
Get the CUDA stream to use.
| ctx | The event context for which the stream is requested |
Definition at line 25 of file SingleStreamSvc.cxx.
|
private |
Single CUDA stream.
Definition at line 53 of file SingleStreamSvc.h.