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

Function get_default_target

src/graph/Utils.cpp:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Target get_default_target()
41{
42 if (is_target_supported(Target::NEON))
43 {
44 return Target::NEON;
45 }
46 if (is_target_supported(Target::CL))
47 {
48 return Target::CL;
49 }
50 ARM_COMPUTE_ERROR("No backend exists!");
51}
52
53void force_target_to_graph(Graph &g, Target target)
54{

Callers 1

finalize_graphMethod · 0.85

Calls 1

is_target_supportedFunction · 0.85

Tested by

no test coverage detected