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/SampleDriverQuant.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/SampleDriverQuant.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/SampleDriverQuant.cpp
|