MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / init

Method init

src/runtime/CL/CLScheduler.cpp:174–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void 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
191void CLScheduler::enqueue_common(ICLKernel &kernel, ITensorPack &tensors, bool flush)
192{

Callers 15

configure_layer_normMethod · 0.45
configure_mmMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45
configureMethod · 0.45

Calls 1

get_target_from_deviceFunction · 0.85

Tested by

no test coverage detected