24 #ifndef ARM_COMPUTE_ACL_OPENCL_EXT_H_ 25 #define ARM_COMPUTE_ACL_OPENCL_EXT_H_ 29 #ifndef CL_TARGET_OPENCL_VERSION 30 #define CL_TARGET_OPENCL_VERSION 200 31 #define CL_USE_DEPRECATED_OPENCL_1_1_APIS 32 #define CL_USE_DEPRECATED_OPENCL_1_2_APIS 34 #pragma GCC diagnostic push 35 #pragma GCC diagnostic ignored "-Weffc++" 36 #include "include/CL/cl.h" 37 #pragma GCC diagnostic pop AclStatus AclSetClContext(AclContext ctx, cl_context opencl_context)
Set the underlying OpenCL context to be used by a given Compute Library context object.
AclStatus AclGetClContext(AclContext ctx, cl_context *opencl_context)
Extract the underlying OpenCL context used by a given Compute Library context object.
AclStatus AclSetClQueue(AclQueue queue, cl_command_queue opencl_queue)
Set the underlying OpenCL queue to be used by a given Compute Library queue object.
AclStatus AclGetClMem(AclTensor tensor, cl_mem *opencl_mem)
Extract the underlying OpenCL memory object by a given Compute Library tensor object.
AclStatus AclGetClQueue(AclQueue queue, cl_command_queue *opencl_queue)
Extract the underlying OpenCL queue used by a given Compute Library queue object. ...
AclStatus AclGetClDevice(AclContext ctx, cl_device_id *opencl_device)
Extract the underlying OpenCL device id used by a given Compute Library context object.