15#ifndef GPURECONSTRUCTIONOCL_H
16#define GPURECONSTRUCTIONOCL_H
28struct GPUReconstructionOCLInternals;
47 int32_t
GPUDebug(
const char*
state =
"UNKNOWN", int32_t
stream = -1,
bool force =
false)
override;
58 template <
class T,
int32_t I = 0>
60 template <
class T,
int32_t I = 0>
62 template <
typename K,
typename... Args>
64 template <
class T,
int32_t I = 0>
70 template <
class T, int32_t I = 0,
typename... Args>
72 template <
class S,
class T,
int32_t I,
bool MULTI>
o2::gpu::GPUReconstruction * GPUReconstruction_Create_OCL(const o2::gpu::GPUSettingsDeviceBackend &cfg)
int32_t ExitDevice_Runtime() override
void UpdateAutomaticProcessingSettings() override
void SynchronizeStream(int32_t stream) override
int32_t runKernelBackend(const krnlSetupArgs< T, I, Args... > &args)
int32_t GPUFailedMsgAI(const int64_t error, const char *file, int32_t line)
int32_t InitDevice_Runtime() override
int32_t GPUDebug(const char *state="UNKNOWN", int32_t stream=-1, bool force=false) override
void RecordMarker(deviceEvent *ev, int32_t stream) override
size_t WriteToConstantMemory(size_t offset, const void *src, size_t size, int32_t stream=-1, deviceEvent *ev=nullptr) override
size_t GPUMemCpy(void *dst, const void *src, size_t size, int32_t stream, int32_t toGPU, deviceEvent *ev=nullptr, deviceEvent *evList=nullptr, int32_t nEvents=1) override
~GPUReconstructionOCLBackend() override
int32_t runKernelBackendInternal(const krnlSetupTime &_xyz, K &k, const Args &... args)
void GPUFailedMsgA(const int64_t error, const char *file, int32_t line)
GPUReconstructionOCLInternals * mInternals
void SynchronizeGPU() override
void SynchronizeEvents(deviceEvent *evList, int32_t nEvents=1) override
int32_t DoStuckProtection(int32_t stream, deviceEvent event) override
void ReleaseEvent(deviceEvent ev) override
int32_t AddKernel(bool multi=false)
uint32_t FindKernel(int32_t num)
gpu_reconstruction_kernels::krnlProperties getKernelPropertiesBackend()
void StreamWaitForEvents(int32_t stream, deviceEvent *evList, int32_t nEvents=1) override
bool IsEventDone(deviceEvent *evList, int32_t nEvents=1) override