diff options
author | Miao Wang <miaowang@google.com> | 2020-01-21 14:59:54 -0800 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2020-01-29 09:48:04 -0800 |
commit | 879701620e997b462fdbd66bc5963dba47399436 (patch) | |
tree | f9e2a5f8b9c669bb892d523dd9084f6a34355ca2 /nn/runtime/test/TestPartitioning.cpp | |
parent | 7b00faa4d25a3a93c38cc074be6e864db834343a (diff) | |
download | ml-879701620e997b462fdbd66bc5963dba47399436.tar.gz |
Update sync fence related APIs
- Allow ANeuralNetworksExecution_startComputeWithDependencies
to measure execution duration after all dependencies are done.
- Allow ANeuralNetworksExecution_startComputeWithDependencies
to specify post-gate-release timeout duration.
Bug: 142778241
Bug: 136739795
Test: mm
Test: NNAPI CTS & VTS tests
Change-Id: Ie32e30b7d1cb98882f3084c1741e975d3e39d970
Diffstat (limited to 'nn/runtime/test/TestPartitioning.cpp')
-rw-r--r-- | nn/runtime/test/TestPartitioning.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nn/runtime/test/TestPartitioning.cpp b/nn/runtime/test/TestPartitioning.cpp index c9b34f3b6..cfdbd49b4 100644 --- a/nn/runtime/test/TestPartitioning.cpp +++ b/nn/runtime/test/TestPartitioning.cpp @@ -324,6 +324,7 @@ class PartitioningDriver : public SampleDriver { return Void(); } Return<void> executeFenced(const Request&, const hidl_vec<hidl_handle>&, MeasureTiming, + const OptionalTimePoint&, const OptionalTimeoutDuration&, executeFenced_cb cb) { cb(ErrorStatus::DEVICE_UNAVAILABLE, hidl_handle(nullptr), nullptr); return Void(); |