#include <ScopedContext.h>
Public Types | |
using | Queue = TQueue |
using | ScopedContextGetterBase = impl::ScopedContextGetterBase< Queue > |
Public Types inherited from cms::alpakatools::impl::ScopedContextGetterBase< TQueue > | |
using | Queue = TQueue |
Public Types inherited from cms::alpakatools::impl::ScopedContextBase< TQueue > | |
using | Device = alpaka::Dev< Queue > |
using | Platform = alpaka::Pltf< Device > |
using | Queue = TQueue |
Public Member Functions | |
ScopedContextAnalyze (ProductBase< Queue > const &data) | |
Constructor to (possibly) re-use a queue. More... | |
Public Member Functions inherited from cms::alpakatools::impl::ScopedContextGetterBase< TQueue > | |
const T & | get (Product< Queue, T > const &data) |
const T & | get (edm::Event const &event, edm::EDGetTokenT< Product< Queue, T >> token) |
Public Member Functions inherited from cms::alpakatools::impl::ScopedContextBase< TQueue > | |
Device | device () const |
Queue & | queue () |
const std::shared_ptr< Queue > & | queuePtr () const |
Additional Inherited Members | |
Protected Member Functions inherited from cms::alpakatools::impl::ScopedContextGetterBase< TQueue > | |
ScopedContextGetterBase (Args &&... args) | |
void | synchronizeStreams (ProductBase< Queue > const &data) |
Protected Member Functions inherited from cms::alpakatools::impl::ScopedContextBase< TQueue > | |
ScopedContextBase (ProductBase< Queue > const &data) | |
ScopedContextBase (std::shared_ptr< Queue > queue) | |
ScopedContextBase (edm::StreamID streamID) | |
The aim of this class is to do necessary per-event "initialization" in analyze()
Definition at line 287 of file ScopedContext.h.
using cms::alpakatools::ScopedContextAnalyze< TQueue, typename >::Queue = TQueue |
Definition at line 289 of file ScopedContext.h.
using cms::alpakatools::ScopedContextAnalyze< TQueue, typename >::ScopedContextGetterBase = impl::ScopedContextGetterBase<Queue> |
Definition at line 290 of file ScopedContext.h.
|
inlineexplicit |
Constructor to (possibly) re-use a queue.
Definition at line 295 of file ScopedContext.h.