diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2017-12-22 16:37:30 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:42:33 +0000 |
commit | a9e153398e4a998ee01623eb78c4604bbd8d34e7 (patch) | |
tree | 8a07b58dc044e37311387dc7ef771b5f2bb4bb55 /arm_compute/core/CL | |
parent | 77eb21f7d9c6e34e985dfa96152fb8b6c40f9a8a (diff) | |
download | ComputeLibrary-a9e153398e4a998ee01623eb78c4604bbd8d34e7.tar.gz |
COMPMID-766 Allow graph examples to run without OpenCL being present on the platform
Change-Id: I4142e0720ecb58549a08d4e86ad21abb882f5f37
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114552
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/CL')
-rw-r--r-- | arm_compute/core/CL/OpenCL.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h index 8a2d30bb83..e389b867a9 100644 --- a/arm_compute/core/CL/OpenCL.h +++ b/arm_compute/core/CL/OpenCL.h @@ -57,6 +57,9 @@ public: #define DECLARE_FUNCTION_PTR(func_name) \ std::function<decltype(func_name)> func_name##_ptr = nullptr + DECLARE_FUNCTION_PTR(clCreateContextFromType); + DECLARE_FUNCTION_PTR(clCreateCommandQueue); + DECLARE_FUNCTION_PTR(clGetContextInfo); DECLARE_FUNCTION_PTR(clBuildProgram); DECLARE_FUNCTION_PTR(clEnqueueNDRangeKernel); DECLARE_FUNCTION_PTR(clSetKernelArg); |