|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHCUDAINTERFACES_ISTREAMPOOLSVC_H
6 #define ATHCUDAINTERFACES_ISTREAMPOOLSVC_H
12 #include "GaudiKernel/IService.h"
66 #endif // ATHCUDAINTERFACES_ISTREAMPOOLSVC_H
DeclareInterfaceID(AthCUDA::IStreamPoolSvc, 1, 0)
Declare the interface ID.
Interface for a CUDA stream pool service.
virtual bool isEmpty() const =0
Check whether any streams are available for the job.
virtual StreamHolder getAvailableStream()=0
Get a stream from the pool.
Helper class for handling CUDA streams.
virtual void yieldStream(StreamHolder &stream)=0
Put a given stream back into the pool.