#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 Product< T > &data) |
template<typename T > | |
const T & | get (const edm::Event &iEvent, edm::EDGetTokenT< Product< T >> token) |
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 (edm::StreamID streamID) | |
ScopedContextBase (const ProductBase &data) | |
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 |
Constructor to (possibly) re-use a CUDA stream.
Definition at line 225 of file ScopedContext.h.