platform_hardware_interfaces/neuralnetworks
Xusong Wang e3d0dad8d5 Use proper alignment and padding for pointer arguments -- HAL.
This CL modifies the shared memory allocation for pointer arguments to
use proper alignment and padding. We use default alignment (64) and
min padding (1) for HIDL drivers, and default alignment (64) and default
padding (64) for sAIDL drivers.

Bug: 184164929
Test: NNT_static
Change-Id: I22591640fa047d5f75d437edac1a7645d3b05526
Merged-In: I22591640fa047d5f75d437edac1a7645d3b05526
(cherry picked from commit 8bfa243972)
2021-05-11 09:17:34 -07:00
..
1.0 Use proper alignment and padding for pointer arguments -- HAL. 2021-05-11 09:17:34 -07:00
1.1 Remove NN canonical IDevice::isUpdatable -- hal 2021-04-21 13:27:59 -07:00
1.2 Use proper alignment and padding for pointer arguments -- HAL. 2021-05-11 09:17:34 -07:00
1.3 Use proper alignment and padding for pointer arguments -- HAL. 2021-05-11 09:17:34 -07:00
aidl Use proper alignment and padding for pointer arguments -- HAL. 2021-05-11 09:17:34 -07:00
utils Use proper alignment and padding for pointer arguments -- HAL. 2021-05-11 09:17:34 -07:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08: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
frameworks/ml/nn/driver/sample.