25 assert(
m_svc !=
nullptr );
26 m_svc->setTaskFinished();
Interface for a CUDA stream pool service.
KernelRunnerSvcImplCallback & operator()()
Call setTaskFinished() on the service object.
KernelRunnerSvc * m_svc
Pointer to the main service.
KernelRunnerSvcImplCallback(KernelRunnerSvc &svc)
Constructor with the service object to operate on.
IStreamPoolSvc * m_streamPool
The stream pool service in use.
StreamHolder getAvailableStream()
Get an available CUDA stream from the pool.
KernelRunnerSvcImplCallback m_callback
Helper object to call setTaskFinished() with.
KernelRunnerSvcImpl(IStreamPoolSvc &streamPool, KernelRunnerSvc &svc)
Constructor with all necessary parameters.
Service used for executing AthCUDA::IKernelTask tasks.
Helper class for handling CUDA streams.