#include <ContextState.h>
Public Types | |
using | Device = alpaka::Dev< Queue > |
using | Queue = TQueue |
Public Member Functions | |
ContextState ()=default | |
ContextState (const ContextState &)=delete | |
ContextState (ContextState &&)=delete | |
ContextState & | operator= (const ContextState &)=delete |
ContextState & | operator= (ContextState &&other)=delete |
~ContextState ()=default | |
Private Member Functions | |
Device | device () const |
Queue | queue () const |
std::shared_ptr< Queue > const & | queuePtr () const |
std::shared_ptr< Queue > | releaseQueuePtr () |
void | set (std::shared_ptr< Queue > queue) |
void | throwIfNoQueue () const |
void | throwIfQueue () const |
Private Attributes | |
std::shared_ptr< Queue > | queue_ |
Friends | |
class | ScopedContextAcquire< TQueue > |
class | ScopedContextProduce< TQueue > |
class | ScopedContextTask< TQueue > |
The purpose of this class is to deliver the device and queue information from ExternalWork's acquire() to producer() via a member/QueueCache variable.
Definition at line 22 of file ContextState.h.
using cms::alpakatools::ContextState< TQueue, typename >::Device = alpaka::Dev<Queue> |
Definition at line 25 of file ContextState.h.
using cms::alpakatools::ContextState< TQueue, typename >::Queue = TQueue |
Definition at line 24 of file ContextState.h.
|
default |
|
default |
|
delete |
|
delete |
|
inlineprivate |
Definition at line 45 of file ContextState.h.
|
delete |
|
delete |
|
inlineprivate |
Definition at line 50 of file ContextState.h.
Referenced by cms::alpakatools::ContextState< Queue >::releaseQueuePtr(), and cms::alpakatools::ContextState< Queue >::set().
|
inlineprivate |
Definition at line 55 of file ContextState.h.
|
inlineprivate |
Definition at line 60 of file ContextState.h.
|
inlineprivate |
Definition at line 40 of file ContextState.h.
Referenced by cms::alpakatools::ScopedContextAcquire< TQueue, typename >::~ScopedContextAcquire().
|
inlineprivate |
Definition at line 76 of file ContextState.h.
Referenced by cms::alpakatools::ContextState< Queue >::device(), cms::alpakatools::ContextState< Queue >::queue(), cms::alpakatools::ContextState< Queue >::queuePtr(), and cms::alpakatools::ContextState< Queue >::releaseQueuePtr().
|
inlineprivate |
Definition at line 70 of file ContextState.h.
Referenced by cms::alpakatools::ContextState< Queue >::set().
|
friend |
Definition at line 36 of file ContextState.h.
|
friend |
Definition at line 37 of file ContextState.h.
|
friend |
Definition at line 38 of file ContextState.h.
|
private |
Definition at line 82 of file ContextState.h.
Referenced by cms::alpakatools::ContextState< Queue >::device(), cms::alpakatools::ContextState< Queue >::queue(), cms::alpakatools::ContextState< Queue >::queuePtr(), cms::alpakatools::ContextState< Queue >::releaseQueuePtr(), cms::alpakatools::ContextState< Queue >::set(), cms::alpakatools::ContextState< Queue >::throwIfNoQueue(), and cms::alpakatools::ContextState< Queue >::throwIfQueue().