4#ifndef ATHCUDASERVICES_PEREVENTSTREAMSVC_H
5#define ATHCUDASERVICES_PEREVENTSTREAMSVC_H
31 using extends::extends;
49 virtual cudaStream_t
stream(
const EventContext& ctx)
const override;
Maintain a set of objects, one per slot.
Service providing CUDA streams to (reentrant) algorithms.
std::unique_ptr< const SG::SlotSpecificObj< Details::Stream, SG::InvalidSlot::Enabled > > m_streams
Slot specific CUDA stream(s).
virtual StatusCode initialize() override
Initialize the tool.
virtual cudaStream_t stream(const EventContext &ctx) const override
Get the CUDA stream to use.
Maintain a set of objects, one per slot.