summaryrefslogtreecommitdiff
path: root/nn/runtime/test/TestPartitioning.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2020-01-21 14:59:54 -0800
committerMiao Wang <miaowang@google.com>2020-01-29 09:48:04 -0800
commit879701620e997b462fdbd66bc5963dba47399436 (patch)
treef9e2a5f8b9c669bb892d523dd9084f6a34355ca2 /nn/runtime/test/TestPartitioning.cpp
parent7b00faa4d25a3a93c38cc074be6e864db834343a (diff)
downloadml-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.cpp1
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();