ATLAS Offline Software
|
CUDA implementation of AthCUDA::KernelRunnerSvc
.
More...
#include <KernelRunnerSvcImpl.h>
Public Member Functions | |
KernelRunnerSvcImpl (IStreamPoolSvc &streamPool, KernelRunnerSvc &svc) | |
Constructor with all necessary parameters. More... | |
void | execute (std::unique_ptr< IKernelTask > task) |
Implementation of AthCUDA::IKernelRunnerSvc::execute . More... | |
StreamHolder | getAvailableStream () |
Get an available CUDA stream from the pool. More... | |
Private Attributes | |
IStreamPoolSvc * | m_streamPool |
The stream pool service in use. More... | |
KernelRunnerSvcImplCallback | m_callback |
Helper object to call setTaskFinished() with. More... | |
CUDA implementation of AthCUDA::KernelRunnerSvc
.
Definition at line 38 of file KernelRunnerSvcImpl.h.
AthCUDA::KernelRunnerSvcImpl::KernelRunnerSvcImpl | ( | IStreamPoolSvc & | streamPool, |
KernelRunnerSvc & | svc | ||
) |
Constructor with all necessary parameters.
Definition at line 30 of file KernelRunnerSvcImpl.cxx.
void AthCUDA::KernelRunnerSvcImpl::execute | ( | std::unique_ptr< IKernelTask > | task | ) |
StreamHolder AthCUDA::KernelRunnerSvcImpl::getAvailableStream | ( | ) |
Get an available CUDA stream from the pool.
Definition at line 36 of file KernelRunnerSvcImpl.cxx.
|
private |
Helper object to call setTaskFinished()
with.
Definition at line 56 of file KernelRunnerSvcImpl.h.
|
private |
The stream pool service in use.
Definition at line 53 of file KernelRunnerSvcImpl.h.