aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/OpenCL.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/CL/OpenCL.h')
-rw-r--r--arm_compute/core/CL/OpenCL.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h
index 897e9368f1..151cc9b53d 100644
--- a/arm_compute/core/CL/OpenCL.h
+++ b/arm_compute/core/CL/OpenCL.h
@@ -83,6 +83,7 @@ public:
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);
+ using clGetPlatformIDs_func = cl_int (*)(cl_uint, cl_platform_id *, cl_uint *);
clBuildProgram_func clBuildProgram = nullptr;
clEnqueueNDRangeKernel_func clEnqueueNDRangeKernel = nullptr;
@@ -113,6 +114,7 @@ public:
clGetDeviceInfo_func clGetDeviceInfo = nullptr;
clGetDeviceIDs_func clGetDeviceIDs = nullptr;
clRetainEvent_func clRetainEvent = nullptr;
+ clGetPlatformIDs_func clGetPlatformIDs = nullptr;
private:
std::pair<bool, bool> _loaded{ false, false };