diff options
author | Michael Butler <butlermichael@google.com> | 2021-02-08 00:05:07 -0800 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2021-02-17 10:15:39 -0800 |
commit | ab2f482af37540942e2d1702e062a29575e8178d (patch) | |
tree | 93abaa7ca6114e3915ffb0183c6f46dc939b8226 /neuralnetworks/aidl/vts/functional/ValidateModel.cpp | |
parent | fadeb8a92046c6941db721145de3514cf6015079 (diff) |
Store AHWB in NN canonical memory type -- hal
Prior to this CL, the canonical memory type only held a SharedHandle,
which mirrors the behavior of native_handle_t/hidl_handle. This means
memory types including AHardwareBuffer were stored as this SharedHandle
type. With this CL, the canonical memory type is stored directly as
AHardwareBuffer to avoid using non-NDK AHardwareBuffer calls in the NN
runtime.
Bug: 179906132
Test: mma
Test: NeuralNetworksTest_static
Test: presubmit
Change-Id: I394071c193d15ac0c90ac47e5a2a9a79c635db6c
Merged-In: I394071c193d15ac0c90ac47e5a2a9a79c635db6c
(cherry picked from commit bbe43d950e981cfb5c06622c8f80b57ab60b0497)
Diffstat (limited to 'neuralnetworks/aidl/vts/functional/ValidateModel.cpp')
0 files changed, 0 insertions, 0 deletions