diff options
author | Xusong Wang <xusongw@google.com> | 2020-04-10 17:44:28 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-04-10 17:44:28 +0000 |
commit | 300326197c4544488a0ed576305624a107aeb4ad (patch) | |
tree | ddf9e8412185a080f4751c3e38fd93a035b7ee1d /nn/runtime | |
parent | dc48cbaae17c0cfb93677c020075b0a1fc8534a0 (diff) | |
parent | 73b9c70505c1ac06e0ccc20ada72075804fdb01c (diff) | |
download | ml-300326197c4544488a0ed576305624a107aeb4ad.tar.gz |
Merge "Increase guaranteed BLOB AHWB support feature level to Android R." into rvc-dev
Diffstat (limited to 'nn/runtime')
-rw-r--r-- | nn/runtime/Memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nn/runtime/Memory.cpp b/nn/runtime/Memory.cpp index 09e597e2f..d9a29d470 100644 --- a/nn/runtime/Memory.cpp +++ b/nn/runtime/Memory.cpp @@ -472,7 +472,7 @@ int MemoryBuilder::finish() { mAllocator = nullptr; } mSupportsAhwb = std::all_of(devices.begin(), devices.end(), [](const auto* device) { - return device->getFeatureLevel() >= __ANDROID_API_Q__; + return device->getFeatureLevel() >= __ANDROID_API_R__; }); mShouldFallback = std::none_of(mRoles.begin(), mRoles.end(), [](const auto& role) { const auto* cb = std::get<const CompilationBuilder*>(role); |