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

Method ClContext

src/gpu/cl/ClContext.cpp:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50} // namespace
51
52ClContext::ClContext(const AclContextOptions *options)
53 : IContext(Target::GpuOcl), _mlgo_heuristics(), _cl_ctx(), _cl_dev()
54{
55 if (options != nullptr)
56 {
57 _mlgo_heuristics = populate_mlgo(options->kernel_config_file);
58 }
59 _cl_ctx = CLKernelLibrary::get().context();
60 _cl_dev = CLKernelLibrary::get().get_device();
61}
62
63const mlgo::MLGOHeuristics &ClContext::mlgo() const
64{

Callers

nothing calls this directly

Calls 2

populate_mlgoFunction · 0.85
contextMethod · 0.80

Tested by

no test coverage detected