/home/runner/work/HiCR/HiCR/include/hicr/backends/opencl/executionState.hpp Source File
HiCR
|
executionState.hpp
Go to the documentation of this file.
54 if (e == NULL) HICR_THROW_LOGIC("The execution unit of type '%s' is not supported by this backend\n", executionUnit->getType());
77 if (err != CL_SUCCESS) [[unlikely]] { HICR_THROW_RUNTIME("Failed to wait after kernel execution. Error %d", err); }
101 if (err != CL_SUCCESS) [[unlikely]] { HICR_THROW_RUNTIME("Failed to write event in the queue", err); }
104 __INLINE__ void suspendImpl() { HICR_THROW_RUNTIME("Suspend functionality not supported by OpenCL backend"); }
This file implements the Device class for the OpenCL backend.
This file implements the execution unit class for the OpenCL backend.
Definition executionState.hpp:38
Definition executionState.hpp:39
ExecutionState(const std::shared_ptr< HiCR::ExecutionUnit > executionUnit)
Definition executionState.hpp:47
__INLINE__ void setQueue(cl::CommandQueue *queue)
Definition executionState.hpp:66
__INLINE__ void resumeImpl() override
Definition executionState.hpp:89
__INLINE__ void finalizeStream()
Definition executionState.hpp:71
~ExecutionState()=default
__INLINE__ void suspendImpl()
Definition executionState.hpp:104
__INLINE__ bool checkFinalizationImpl() override
Definition executionState.hpp:112
Provides a base definition for a HiCR Execution State class.
Provides a failure model and corresponding exception classes.
Generated by