|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHCUDAINTERFACES_IKERNELTASK_H
6 #define ATHCUDAINTERFACES_IKERNELTASK_H
64 #endif // ATHCUDAINTERFACES_IKERNELTASK_H
@ Synchronous
The kernel was executed synchronously on the CPU.
KernelExecMode
Possible modes in which the kernel was executed.
virtual int execute(StreamHolder &stream)=0
Execute the kernel using a specific stream.
@ Asynchronous
The kernel was executed asynchronously on a CUDA device.
virtual int finished(int code, KernelExecMode mode)=0
Function called when an asynchronous execution finishes.
virtual ~IKernelTask()=default
Virtual destructor, to make vtable happy.
Helper class for handling CUDA streams.
Abstract interface for setting up / running a CUDA task.