CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
cms::alpakatools::ScopedContextAnalyze< TQueue, typename > Class Template Reference

#include <ScopedContext.h>

Inheritance diagram for cms::alpakatools::ScopedContextAnalyze< TQueue, typename >:
cms::alpakatools::impl::ScopedContextGetterBase< TQueue > cms::alpakatools::impl::ScopedContextBase< TQueue >

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 Tget (Product< Queue, T > const &data)
 
const Tget (edm::Event const &event, edm::EDGetTokenT< Product< Queue, T >> token)
 
- Public Member Functions inherited from cms::alpakatools::impl::ScopedContextBase< TQueue >
Device device () const
 
Queuequeue ()
 
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)
 

Detailed Description

template<typename TQueue, typename>
class cms::alpakatools::ScopedContextAnalyze< TQueue, typename >

The aim of this class is to do necessary per-event "initialization" in analyze()

Definition at line 287 of file ScopedContext.h.

Member Typedef Documentation

◆ Queue

template<typename TQueue , typename >
using cms::alpakatools::ScopedContextAnalyze< TQueue, typename >::Queue = TQueue

Definition at line 289 of file ScopedContext.h.

◆ ScopedContextGetterBase

template<typename TQueue , typename >
using cms::alpakatools::ScopedContextAnalyze< TQueue, typename >::ScopedContextGetterBase = impl::ScopedContextGetterBase<Queue>

Definition at line 290 of file ScopedContext.h.

Constructor & Destructor Documentation

◆ ScopedContextAnalyze()

template<typename TQueue , typename >
cms::alpakatools::ScopedContextAnalyze< TQueue, typename >::ScopedContextAnalyze ( ProductBase< Queue > const &  data)
inlineexplicit

Constructor to (possibly) re-use a queue.

Definition at line 295 of file ScopedContext.h.

char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
impl::ScopedContextGetterBase< Queue > ScopedContextGetterBase