|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHCUDASERVICES_STREAMPOOLSVCIMPL_H
6 #define ATHCUDASERVICES_STREAMPOOLSVCIMPL_H
15 class StreamPoolSvcImplData;
69 #endif // ATHCUDASERVICES_STREAMPOOLSVCIMPL_H
Interface for a CUDA stream pool service.
StreamHolder getAvailableStream()
Get a stream from the pool.
StreamPoolSvcImplData * m_data
Data used by the class behind the scenes.
void yieldStream(StreamHolder &stream)
Put a given stream back into the pool.
StreamPoolSvcImpl(const StreamPoolSvcImpl &)=delete
Copy constructor.
StreamPoolSvcImpl(StreamPoolSvcImpl &&parent)
Move constructor.
AthROOTErrorHandlerSvc * svc
~StreamPoolSvcImpl()
Destructor.
CUDA implementation of AthCUDA::StreamPoolSvc.
IStreamPoolSvc * m_svc
The service that this object is used by.
StreamPoolSvcImpl & operator=(const StreamPoolSvcImpl &)=delete
Copy assignment operator.
Helper class for handling CUDA streams.
StreamPoolSvcImpl & operator=(StreamPoolSvcImpl &&rhs)
Move assignment operator.
StreamPoolSvcImpl(unsigned int nStreams, IStreamPoolSvc &svc)
Constructor with all necessary arguments.