47b5916d2c4c5d0e0d4f6b43075a23449c16345b |
|
23-Feb-2018 |
David Gross <dgross@google.com> |
Add Capabilities::relaxedFloat32toFloat16Performance for 1.1. Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-all Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/hvx Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all Test: NeuralNetworksTest_static Bug: 63911257 Change-Id: I157641995e239777a0d3e56af1cf090e7309f35f
/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
|
d56b2323c6e367d77bc226c5e35908d9512af79e |
|
01-Feb-2018 |
Michael Butler <butlermichael@google.com> |
Upgrade 1.0 sample driver to 1.1 This CL updates the 1.0 sample drivers to 1.1. Because V1_1::IDevice inherits from V1_0::IDevice, the sample driver can still be used as a 1.0 driver. When the NN runtime holds a 1.1 driver, it will always use its updated *_1_1 function calls; to verify the NN runtime is still compliant with 1.0 drivers, the VTS framework generates a binary called 'android.hardware.neuralnetworks@1.0-adapter' to fake a 1.0 driver using a 1.1+ driver. This change additionally updates RandomPartitioningTest to use the 1.1 version of SampleDriver, and removes driver/Android.bp since it is no longer needed in the build system. Bug: 63911257 Test: mm Test: cts and vts test binaries Change-Id: I1f98d1329571a4571c1b8d5f532ca04dad5a59ca
/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
|
75886e77f9ca074173a49283b5c0a8c182d98977 |
|
23-Jan-2018 |
Michael Butler <butlermichael@google.com> |
Upgrade NeuralNetworks v1.0 to v1.1. For Android P, the NNAPI is getting new operations. To support this change, the NN runtime needs to handle both v1.0 and v1.1. This change brings the NN runtime up to v1.1 and adds a VersionedIDevice class which manages both v1.0 and v1.1 calls. Test: mm Test: cts and vts test binaries Change-Id: Iaec1dcfe00c1712a0ac89954ae142d4ea126989d
/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
|
c5e342b62bf25a98d15ae28ee97916b274296e94 |
|
12-Oct-2017 |
Jean-Luc Brouillet <jeanluc@google.com> |
Improve validation of the HAL structures. Add a lot of validation of the structures passed in the HAL. Particularly important are those that operands & arguments don't try to reach out of their memory blocks. Also grabs a few missing generated tests. Bug: 67828197 Test: System tests & VTS tests. Change-Id: I2edf6219fc660fab7c5b6a73e7a9cb8a358fb29b
/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
|
a116e12f3a150b3dfc6afa91b0997e551490a9f8 |
|
12-Oct-2017 |
Jean-Luc Brouillet <jeanluc@google.com> |
Fix vlog initialization in sample drivers. While debugging setValueCode, I found that I was not getting log trace from the sample driver. It's because the vlog initialization was done when the driver started. If you do a setprop afterwards, nothing happened. It's better to do the call on getCapabilities. Bug: 67724550 Test: Compiled and ran sample drivers Change-Id: I5068851c145a2e2aaff43f3d783362b0714a385d
/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
|
820215d28bed6c90f696cde0f282445d16da432e |
|
05-Oct-2017 |
Miao Wang <miaowang@google.com> |
Allow fine grain verbose logging control through system property. - Existing DEBUG and INFO change to the new mechanism, existing ERROR and WARNING unchanged. - By default, all verbose logging are disabled. - setprop debug.nn.vlog 1 enables all verbose logging. - setprop debug.nn.vlog "tag1 tag2 ..." only enable the selected tags. - Available tags: all: same as 1. model: enable logging with tag MODEL. compilation: enable logging with tag COMPILATION. execution: enable logging with tag EXECUTION. cpuexe: enable logging with tag CPUEXE. manager: enable logging with tag MANAGER. driver: enable logging with tag DRIVER. Bug: 63905942 Test: mm Test: NeuralNetworksTests pass Test: manually set property to allow individual module to logging verbosely Test: tested with debug.nn.partition default -> 0 -> 1 to make sure getProp still works fine Change-Id: Iaa0ffa62176dabcdc35058748597df720fd6e47e
/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
|
ef22aa5727b96e9a0863ef71cfbe3dbdac339408 |
|
16-Sep-2017 |
Jean-Luc Brouillet <jeanluc@google.com> |
Create mutiple sample test drivers Create multiple sample test drivers to better test partitioning. Bug: 63905942 Test: Compiled, ran runtimte/tests and VTS tests. Change-Id: I037aeb82a849592f3a931bcdc558f32010aa1146
/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
|