diff options
author | Michael Butler <butlermichael@google.com> | 2017-09-01 10:59:38 -0700 |
---|---|---|
committer | David Gross <dgross@google.com> | 2017-09-01 11:07:56 -0700 |
commit | 0e2ac1bb885d7ba77e80a082526fd1b510190a72 (patch) | |
tree | 70cbf2c272e0d7d56b6ee1499fe7ed2f0b4cf3f4 /neuralnetworks/1.0/Android.bp | |
parent | 5d143d2a0ff7c8d908aab13727b587003896d031 (diff) | |
download | platform_hardware_interfaces-0e2ac1bb885d7ba77e80a082526fd1b510190a72.tar.gz platform_hardware_interfaces-0e2ac1bb885d7ba77e80a082526fd1b510190a72.tar.bz2 platform_hardware_interfaces-0e2ac1bb885d7ba77e80a082526fd1b510190a72.zip |
NNAPI Concurrent Query Management -- HAL and VTS update
The NNAPI requires requests on a model to be asynchronously
processed. This CL implements a basic Event that can later
be used to block the runtime thread until the asynchronous
request has completed.
Bug: 63905942
Test: VtsHalNeuralnetworksV1_0TargetTest (32-bit, 64-bit) with sample driver enabled by cherry-pick
frameworks/ml/nn/runtime/test with and without sample driver enabled
Change-Id: Ie27a574aaaac312e7cbb731750f9c06278357a1c
Diffstat (limited to 'neuralnetworks/1.0/Android.bp')
-rw-r--r-- | neuralnetworks/1.0/Android.bp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/neuralnetworks/1.0/Android.bp b/neuralnetworks/1.0/Android.bp index b5603a2ecc..d7c3bbbf72 100644 --- a/neuralnetworks/1.0/Android.bp +++ b/neuralnetworks/1.0/Android.bp @@ -5,6 +5,7 @@ filegroup { srcs: [ "types.hal", "IDevice.hal", + "IEvent.hal", "IPreparedModel.hal", ], } @@ -19,6 +20,7 @@ genrule { out: [ "android/hardware/neuralnetworks/1.0/types.cpp", "android/hardware/neuralnetworks/1.0/DeviceAll.cpp", + "android/hardware/neuralnetworks/1.0/EventAll.cpp", "android/hardware/neuralnetworks/1.0/PreparedModelAll.cpp", ], } @@ -38,6 +40,11 @@ genrule { "android/hardware/neuralnetworks/1.0/BnHwDevice.h", "android/hardware/neuralnetworks/1.0/BpHwDevice.h", "android/hardware/neuralnetworks/1.0/BsDevice.h", + "android/hardware/neuralnetworks/1.0/IEvent.h", + "android/hardware/neuralnetworks/1.0/IHwEvent.h", + "android/hardware/neuralnetworks/1.0/BnHwEvent.h", + "android/hardware/neuralnetworks/1.0/BpHwEvent.h", + "android/hardware/neuralnetworks/1.0/BsEvent.h", "android/hardware/neuralnetworks/1.0/IPreparedModel.h", "android/hardware/neuralnetworks/1.0/IHwPreparedModel.h", "android/hardware/neuralnetworks/1.0/BnHwPreparedModel.h", |