24 #ifndef ARM_COMPUTE_CL_HELPERS_H 25 #define ARM_COMPUTE_CL_HELPERS_H 34 class CLRuntimeContext;
void schedule_kernel_on_ctx(CLRuntimeContext *ctx, ICLKernel *kernel, bool flush=true)
Schedules a kernel using the context if not nullptr else uses the legacy scheduling flow...
std::tuple< cl::Context, cl::Device, cl_int > create_opencl_context_and_device(CLBackendType cl_backend_type)
This function creates an OpenCL context and a device.
Copyright (c) 2017-2022 Arm Limited.
CLBackendType
List the possible OpenCL backends.
Wrapper to configure the Khronos OpenCL C++ header.
cl::Platform select_preferable_platform(CLBackendType cl_backend_type)
This function selects the OpenCL platform based on the backend type.