| 172 | } |
| 173 | |
| 174 | void CLScheduler::init(cl::Context context, |
| 175 | cl::CommandQueue queue, |
| 176 | const cl::Device &device, |
| 177 | ICLTuner *cl_tuner, |
| 178 | CLGEMMHeuristicsHandle *gemm_h, |
| 179 | CLBackendType cl_backend_type) |
| 180 | { |
| 181 | set_context(std::move(context)); |
| 182 | _queue = std::move(queue); |
| 183 | _target = get_target_from_device(device); |
| 184 | _is_initialised = true; |
| 185 | _cl_tuner = cl_tuner; |
| 186 | _gemm_heuristics = gemm_h; |
| 187 | _backend_type = cl_backend_type; |
| 188 | ARM_COMPUTE_TRACE_OPENCL_BEGIN(); |
| 189 | } |
| 190 | |
| 191 | void CLScheduler::enqueue_common(ICLKernel &kernel, ITensorPack &tensors, bool flush) |
| 192 | { |
no test coverage detected