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

Function populate_mlgo

src/gpu/cl/ClContext.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace
38{
39mlgo::MLGOHeuristics populate_mlgo(const char *filename)
40{
41 bool status = false;
42 mlgo::MLGOHeuristics heuristics;
43
44 if (filename != nullptr)
45 {
46 status = heuristics.reload_from_file(filename);
47 }
48 return status ? std::move(heuristics) : mlgo::MLGOHeuristics();
49}
50} // namespace
51
52ClContext::ClContext(const AclContextOptions *options)

Callers 1

ClContextMethod · 0.85

Calls 2

MLGOHeuristicsClass · 0.50
reload_from_fileMethod · 0.45

Tested by

no test coverage detected