Deprecated function that will be removed together with the Compute enum
| 34 | /// Deprecated function that will be removed together with |
| 35 | /// the Compute enum |
| 36 | constexpr 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 |
no outgoing calls