diff options
Diffstat (limited to 'arm_compute/core/CL/OpenCL.h')
-rw-r--r-- | arm_compute/core/CL/OpenCL.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h index 562f30bf14..897e9368f1 100644 --- a/arm_compute/core/CL/OpenCL.h +++ b/arm_compute/core/CL/OpenCL.h @@ -82,6 +82,7 @@ public: using clReleaseKernel_func = cl_int (*)(cl_kernel kernel); using clGetDeviceInfo_func = cl_int (*)(cl_device_id, cl_device_info, size_t, void *, size_t *); using clGetDeviceIDs_func = cl_int (*)(cl_platform_id, cl_device_type, cl_uint, cl_device_id *, cl_uint *); + using clRetainEvent_func = cl_int (*)(cl_event); clBuildProgram_func clBuildProgram = nullptr; clEnqueueNDRangeKernel_func clEnqueueNDRangeKernel = nullptr; @@ -111,6 +112,7 @@ public: clReleaseMemObject_func clReleaseMemObject = nullptr; clGetDeviceInfo_func clGetDeviceInfo = nullptr; clGetDeviceIDs_func clGetDeviceIDs = nullptr; + clRetainEvent_func clRetainEvent = nullptr; private: std::pair<bool, bool> _loaded{ false, false }; |