platform_hardware_interfaces/neuralnetworks
Michael Butler ab2f482af3 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 bbe43d950e)
2021-02-17 10:15:39 -08:00
..
1.0 Store AHWB in NN canonical memory type -- hal 2021-02-17 10:15:39 -08:00
1.1 Change NNAPI Memory to ref-counted SharedMemory -- hal 2021-02-17 10:15:09 -08:00
1.2 Store AHWB in NN canonical memory type -- hal 2021-02-17 10:15:39 -08:00
1.3 Store AHWB in NN canonical memory type -- hal 2021-02-17 10:15:39 -08:00
aidl Store AHWB in NN canonical memory type -- hal 2021-02-17 10:15:39 -08:00
utils Store AHWB in NN canonical memory type -- hal 2021-02-17 10:15:39 -08:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
TEST_MAPPING Create unit tests for NN interface utility code 2021-01-08 12:07:43 -08:00

NeuralNetworks sample driver implementation is located at
frameworks/ml/nn/driver/sample.