#include <ScopedContext.h>
Public Member Functions | |
ScopedContextAnalyze (const ProductBase &data) | |
Constructor to (possibly) re-use a CUDA stream. More... | |
Public Member Functions inherited from cms::cuda::impl::ScopedContextGetterBase | |
template<typename T > | |
const T & | get (const edm::Event &iEvent, edm::EDGetTokenT< Product< T >> token) |
template<typename T > | |
const T & | get (const Product< T > &data) |
Public Member Functions inherited from cms::cuda::impl::ScopedContextBase | |
int | device () const |
cudaStream_t | stream () const |
const SharedStreamPtr & | streamPtr () const |
Additional Inherited Members | |
Protected Member Functions inherited from cms::cuda::impl::ScopedContextGetterBase | |
template<typename... Args> | |
ScopedContextGetterBase (Args &&... args) | |
void | synchronizeStreams (int dataDevice, cudaStream_t dataStream, bool available, cudaEvent_t dataEvent) |
Protected Member Functions inherited from cms::cuda::impl::ScopedContextBase | |
ScopedContextBase (const ProductBase &data) | |
ScopedContextBase (edm::StreamID streamID) | |
ScopedContextBase (int device, SharedStreamPtr stream) | |
The aim of this class is to do necessary per-event "initialization" in analyze()
Definition at line 222 of file ScopedContext.h.
|
inlineexplicit |