commit | 689d892203c06c66c7bb2e374462a8434e40b75f | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Fri Sep 01 10:58:46 2017 -0700 |
committer | David Gross <dgross@google.com> | Fri Sep 01 11:11:07 2017 -0700 |
tree | 8454eaa8d2752e6ca876174f00c0790f7292002c | |
parent | 4d64f1b01d2fae6db5c23b4ec89cb8a2ff8f88c1 [diff] |
NNAPI Concurrent Query Management -- Implementation 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. The design document for NN API asynchronous behavior: https://docs.google.com/a/google.com/document/d/1mO35KK3Mnr489ZftTDnKXXnXiYxk19jZ1C4DWOqaVB4/edit?usp=sharing 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: I97b1d4cbf189176fb3b21b2cc1af09dddaff18ab