void synchronizeStreams(int dataDevice, cudaStream_t dataStream, bool available, cudaEvent_t dataEvent)
ContextState * contextState_
const SharedStreamPtr & streamPtr() const
impl::ScopedContextHolderHelper holderHelper_
~ScopedContextProduce()
Record the CUDA event, all asynchronous work must have been queued before the destructor.
edm::WaitingTaskWithArenaHolder waitingTaskHolder_
void set(int device, SharedStreamPtr stream)
~ScopedContextAcquire() noexcept(false)
cudaStream_t stream() const
impl::ScopedContextHolderHelper holderHelper_
void enqueueCallback(int device, cudaStream_t stream)
ScopedContextBase(edm::StreamID streamID)