diff options
author | Miao Wang <miaowang@google.com> | 2019-03-05 15:23:31 -0800 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2019-03-05 16:32:14 -0800 |
commit | dc5f0c039042c0e7856f3ee464123cced619ac34 (patch) | |
tree | f4470ddf3c57a7e1a47ce77a437f6003e474731f /nn/runtime/Manager.cpp | |
parent | aa5b1405265ed8ee10efb6253dcf090a6a77c2c1 (diff) | |
download | ml-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.cpp | 2 |
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. |