platform_hardware_interfaces/neuralnetworks/1.1
Miao Wang b5c8a82f25 HAL interface for compilation and execution hints
The following AIDL types are added:
 - TokenValuePair
 - PrepareModelConfig
 - ExecutionConfig

The following AIDL methods are added:
 - IDevice::prepareModelWithConfig
 - IPreparedModel::executeSynchronouslyWithConfig
 - IPreparedModel::executeFencedWithConfig
 - IBurst::executeSynchronouslyWithConfig

The compilation and execution hints are being stored as a list of
token-value pairs as part of the PrepareModelConfig / ExecutionConfig.
And the PrepareModelConfig / ExecutionConfig parcelables are created in
order to make future extensions to the execution related interfaces
easier.

It is the drivers responsibility to verify the hints, and it is allowed
for the driver to ignore them.

Bug: 203248587
Test: neuralnetworks_utils_hal_aidl_test
Change-Id: I98240fd75089fc85cdfcaa0be28aab8a6f0dfca5
Merged-In: I98240fd75089fc85cdfcaa0be28aab8a6f0dfca5
(cherry picked from commit 0e671f3edb)
2022-01-20 16:48:40 +00:00
..
utils HAL interface for compilation and execution hints 2022-01-20 16:48:40 +00:00
vts/functional Consolidate NNAPI OWNERS files 2021-11-15 20:22:41 +00:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
IDevice.hal NNAPI: Add execution preference to prepareModel (HAL) 2018-04-18 19:08:24 +00:00
types.hal NNAPI: Clarify behaviour of ops that reduce dimensions 2020-05-19 13:39:26 -07:00
types.t Move NNAPI type information to types.spec 2021-03-17 13:32:50 +00:00