summaryrefslogtreecommitdiff
path: root/nn/runtime/Manager.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2019-03-05 15:23:31 -0800
committerMiao Wang <miaowang@google.com>2019-03-05 16:32:14 -0800
commitdc5f0c039042c0e7856f3ee464123cced619ac34 (patch)
treef4470ddf3c57a7e1a47ce77a437f6003e474731f /nn/runtime/Manager.cpp
parentaa5b1405265ed8ee10efb6253dcf090a6a77c2c1 (diff)
downloadml-dc5f0c039042c0e7856f3ee464123cced619ac34.tar.gz
Rename the device name of reference CPU implementation to be
nnapi-reference. - also minor changes to the documentation of ANeuralNetworksDevice_getName. Test: mm Test: NeuralNetworksTest_static Change-Id: Idd37cab1eaeca4117a7a9d3e016a23e7f89607a3
Diffstat (limited to 'nn/runtime/Manager.cpp')
-rw-r--r--nn/runtime/Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nn/runtime/Manager.cpp b/nn/runtime/Manager.cpp
index 6c15daf08..420e9978d 100644
--- a/nn/runtime/Manager.cpp
+++ b/nn/runtime/Manager.cpp
@@ -336,7 +336,7 @@ class CpuDevice : public Device {
private:
CpuDevice() = default;
const int64_t kFeatureLevel = __ANDROID_API__;
- const std::string kName = "google-cpu";
+ const std::string kName = "nnapi-reference";
const std::string kVersionString = build::GetBuildNumber();
// Since the performance is a ratio compared to the CPU performance,
// by definition the performance of the CPU is 1.0.