![]() |
ATLAS Offline Software
|
Tool providing a separate, per-event CUDA streams to the component using it. More...
#include <PerEventAndComponentStreamTool.h>
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c IStreamTool | |
| virtual cudaStream_t | stream (const EventContext &ctx) const override |
| Get the CUDA stream to use. | |
Private Attributes | |
| std::unique_ptr< const SG::SlotSpecificObj< Details::Stream, SG::InvalidSlot::Enabled > > | m_streams |
| Slot specific CUDA stream(s). | |
Tool providing a separate, per-event CUDA streams to the component using it.
So that all components would use separate streams, and separate in all events as well. Creating/using a large number of streams as a result.
Definition at line 27 of file PerEventAndComponentStreamTool.h.
|
overridevirtual |
Initialize the tool.
Definition at line 14 of file PerEventAndComponentStreamTool.cxx.
|
overridevirtual |
Get the CUDA stream to use.
| ctx | The event context for which the stream is requested |
Definition at line 32 of file PerEventAndComponentStreamTool.cxx.
|
private |
Slot specific CUDA stream(s).
Definition at line 57 of file PerEventAndComponentStreamTool.h.