![]() |
ATLAS Offline Software
|
Service providing HIP streams to (reentrant) algorithms. More...
#include <PerEventStreamSvc.h>
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c IStreamSvc | |
| virtual hipStream_t | stream (const EventContext &ctx) const override |
| Get the HIP stream to use. | |
Private Attributes | |
| std::unique_ptr< const SG::SlotSpecificObj< Details::Stream, SG::InvalidSlot::Enabled > > | m_streams |
| Slot specific HIP stream(s). | |
Service providing HIP streams to (reentrant) algorithms.
In a very simple way. By having one HIP stream per concurrent event (slot), and having algorithms all use a single HIP stream for a given event.
Definition at line 27 of file AthHIP/AthHIPComps/src/PerEventStreamSvc.h.
|
overridevirtual |
Initialize the tool.
Definition at line 14 of file AthHIP/AthHIPComps/src/PerEventStreamSvc.cxx.
|
overridevirtual |
Get the HIP stream to use.
| ctx | The event context for which the stream is requested |
Definition at line 32 of file AthHIP/AthHIPComps/src/PerEventStreamSvc.cxx.
|
private |
Slot specific HIP stream(s).
Definition at line 57 of file AthHIP/AthHIPComps/src/PerEventStreamSvc.h.