6b0905cb69
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 |
||
---|---|---|
.. | ||
1.0 | ||
1.1 | ||
1.2 | ||
1.3 | ||
aidl | ||
utils | ||
OWNERS | ||
README | ||
TEST_MAPPING |
NeuralNetworks sample driver implementation is located at packages/modules/NeuralNetworks/driver/sample*.