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

Method default_init_with_context

src/runtime/CL/CLScheduler.cpp:127–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void CLScheduler::default_init_with_context(cl::Device &device,
128 cl::Context &ctx,
129 ICLTuner *cl_tuner,
130 CLGEMMHeuristicsHandle *gemm_h)
131{
132 if (!_is_initialised)
133 {
134 const std::string cl_kernels_folder("./cl_kernels/");
135 cl::CommandQueue queue = cl::CommandQueue(ctx, device);
136 CLKernelLibrary::get().init(cl_kernels_folder, ctx, device);
137 init(ctx, queue, device, cl_tuner, gemm_h);
138 _cl_tuner = cl_tuner;
139 }
140}
141
142void CLScheduler::default_init(ICLTuner *cl_tuner, CLGEMMHeuristicsHandle *gemm_h, CLBackendType cl_backend_type)
143{

Callers 3

mainFunction · 0.80
run_exampleFunction · 0.80
run_exampleFunction · 0.80

Calls 3

CommandQueueClass · 0.50
initFunction · 0.50
initMethod · 0.45

Tested by

no test coverage detected