MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetComputeDeviceAsCString

Function GetComputeDeviceAsCString

include/armnn/BackendId.hpp:36–46  ·  view source on GitHub ↗

Deprecated function that will be removed together with the Compute enum

Source from the content-addressed store, hash-verified

34/// Deprecated function that will be removed together with
35/// the Compute enum
36constexpr char const* GetComputeDeviceAsCString(Compute compute)
37{
38 switch (compute)
39 {
40 case armnn::Compute::CpuRef: return "CpuRef";
41 case armnn::Compute::CpuAcc: return "CpuAcc";
42 case armnn::Compute::GpuAcc: return "GpuAcc";
43 case armnn::Compute::TosaRef: return "TosaRef";
44 default: return "Unknown";
45 }
46}
47
48/// Deprecated function that will be removed together with
49/// the Compute enum

Callers 10

ProfilingTests.cppFile · 0.85
BackendIdTests.cppFile · 0.85
BackendId.hppFile · 0.85
BackendIdMethod · 0.85
IsCpuRefMethod · 0.85
IsCpuAccMethod · 0.85
IsGpuAccMethod · 0.85
IsUndefinedMethod · 0.85

Calls

no outgoing calls

Tested by 1