5#ifndef ATHCUDAKERNEL_KERNELSTATUS_H
6#define ATHCUDAKERNEL_KERNELSTATUS_H
int m_code
The result of the kernel execution.
KernelStatus()
Default constructor.
int wait()
Wait for the execution of the kernel to finish.
std::mutex m_mutex
Mutex used for waiting for the CUDA task to finish.
void finished(int code)
Function called by "the framework" when the CUDA kernel finished.