platform_hardware_interfaces/neuralnetworks
Michael Butler 6b0905cb69 Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal
This CL relocates utility code that transfers data between pointer-based
memory and shared memory for Request objects and Model objects, moving
it from nnapi/hal/CommonUtils.h (hal utilities) to nnapi/SharedMemory.h
(canonical library).

This change also adds a check for whether Model and Requests have
pointer-based data in neuralnetworks/aidl/utils/src/Conversions.cpp to
make it consistent with the HIDL utility conversions.

Bug: 217217023
Test: mma
Test: presubmit
Change-Id: I55a0fea186708d806bc709681e10027a9e4b0ffb
2022-01-31 19:26:57 +00:00
..
1.0 Merge "Cleanup NN utility libraries' dependencies" 2022-01-20 23:36:09 +00:00
1.1 Merge "Cleanup NN utility libraries' dependencies" 2022-01-20 23:36:09 +00:00
1.2 Merge "Cleanup NN utility libraries' dependencies" 2022-01-20 23:36:09 +00:00
1.3 Merge "Cleanup NN utility libraries' dependencies" 2022-01-20 23:36:09 +00:00
aidl Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal 2022-01-31 19:26:57 +00:00
utils Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal 2022-01-31 19:26:57 +00:00
OWNERS Update NNAPI owners file 2022-01-04 09:45:05 -08:00
README Consolidate NNAPI OWNERS files 2021-11-15 20:22:41 +00:00
TEST_MAPPING Add canonical types adapters for NNAPI AIDL interface 2021-03-16 11:57:04 -07:00

NeuralNetworks sample driver implementation is located at
packages/modules/NeuralNetworks/driver/sample*.