summaryrefslogtreecommitdiff
path: root/neuralnetworks/utils/common/src/InvalidBurst.cpp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2021-04-05 23:03:27 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-05 23:03:27 +0000
commitae25708fa2f2bf806be84cacefee5cec190a2ccc (patch)
treed61591882ad84eff4b38e3cbbbc4f246a35ec18e /neuralnetworks/utils/common/src/InvalidBurst.cpp
parent564f4060167b5886d2f712d1ec2321846de651fd (diff)
parenta4efef4f0ea4e365c3b4816bd25455aceea25e96 (diff)
Add additional parameters for NN Burst -- HAL am: 8414a6ebf9 am: b19c1cbef3 am: a4efef4f0e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1663920 Change-Id: Ic2baef0c456783024bca24cc6d53717934806653
Diffstat (limited to 'neuralnetworks/utils/common/src/InvalidBurst.cpp')
-rw-r--r--neuralnetworks/utils/common/src/InvalidBurst.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/neuralnetworks/utils/common/src/InvalidBurst.cpp b/neuralnetworks/utils/common/src/InvalidBurst.cpp
index 81ca18d259..0c34f05265 100644
--- a/neuralnetworks/utils/common/src/InvalidBurst.cpp
+++ b/neuralnetworks/utils/common/src/InvalidBurst.cpp
@@ -32,7 +32,9 @@ InvalidBurst::OptionalCacheHold InvalidBurst::cacheMemory(
}
nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> InvalidBurst::execute(
- const nn::Request& /*request*/, nn::MeasureTiming /*measure*/) const {
+ const nn::Request& /*request*/, nn::MeasureTiming /*measure*/,
+ const nn::OptionalTimePoint& /*deadline*/,
+ const nn::OptionalDuration& /*loopTimeoutDuration*/) const {
return NN_ERROR() << "InvalidBurst";
}