aboutsummaryrefslogtreecommitdiff
path: root/shim/sl/canonical/ArmnnPreparedModel.cpp
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2022-04-06 11:41:49 +0100
committerKevin May <kevin.may@arm.com>2022-05-05 16:33:55 +0100
commit3edefbb2da1efecebba12cd631ca9697f06db7d4 (patch)
tree9bd696b65ea697f9314c9999c62084f55bd0f90c /shim/sl/canonical/ArmnnPreparedModel.cpp
parent643355be8a8e94edb66e4586b406343d4342382b (diff)
downloadarmnn-3edefbb2da1efecebba12cd631ca9697f06db7d4.tar.gz
IVGCVSW-6758 Update SL AOSP repos to use SHA's from master 25/03/22
* Add new SHA's from master 25/03/2 to clone script * Fix changed AOSP paths in CMakelists * Add new aosp/external dependencies in CMakeLists * Update functions with FL8 parameters hints and extensionNameAndPrefix * Update sharedHandle which changed from having pointer * Fix broken NeuralNetwork patch after pulling on aosp master Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I5e4b773b87591cec0347c3d739bce9858baed39f
Diffstat (limited to 'shim/sl/canonical/ArmnnPreparedModel.cpp')
-rw-r--r--shim/sl/canonical/ArmnnPreparedModel.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/shim/sl/canonical/ArmnnPreparedModel.cpp b/shim/sl/canonical/ArmnnPreparedModel.cpp
index 35edfb7d99..927d5bfad6 100644
--- a/shim/sl/canonical/ArmnnPreparedModel.cpp
+++ b/shim/sl/canonical/ArmnnPreparedModel.cpp
@@ -275,7 +275,9 @@ ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> ArmnnPreparedModel:
const Request& request,
MeasureTiming measureTiming,
const OptionalTimePoint& deadline,
- const OptionalDuration&) const
+ const OptionalDuration&,
+ const std::vector<android::nn::TokenValuePair>& hints,
+ const std::vector<android::nn::ExtensionNameAndPrefix>& extensionNameToPrefix) const
{
VLOG(DRIVER) << "CanonicalDriver::PreparedModel::execute()";
@@ -443,7 +445,9 @@ GeneralResult<std::pair<SyncFence, ExecuteFencedInfoCallback>> ArmnnPreparedMode
MeasureTiming measureTiming,
const OptionalTimePoint& deadline,
const OptionalDuration&,
- const OptionalDuration&) const
+ const OptionalDuration&,
+ const std::vector<android::nn::TokenValuePair>& hints,
+ const std::vector<android::nn::ExtensionNameAndPrefix>& extensionNameToPrefix) const
{
VLOG(DRIVER) << "ArmnnPreparedModel::executeFenced()";
@@ -562,7 +566,9 @@ GeneralResult<std::pair<SyncFence, ExecuteFencedInfoCallback>> ArmnnPreparedMode
GeneralResult<SharedExecution> ArmnnPreparedModel::createReusableExecution(
const Request& request,
MeasureTiming measureTiming,
- const OptionalDuration& loopTimeoutDuration) const
+ const OptionalDuration& loopTimeoutDuration,
+ const std::vector<android::nn::TokenValuePair>& hints,
+ const std::vector<android::nn::ExtensionNameAndPrefix>& extensionNameToPrefix) const
{
VLOG(DRIVER) << "ArmnnPreparedModel::createReusableExecution()";
return std::make_shared<DefaultExecution>(shared_from_this(),