aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2019-01-17 13:20:32 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-01-17 14:17:42 +0000
commit1df9ccaf7af1593793101ec2164fba19cf2d05ef (patch)
tree1760c55c95b1ff141683bac0f1393b0cfbec3740 /examples
parent5c9f0c47f932f0a145bffcff2e76024a8e038f0a (diff)
downloadComputeLibrary-1df9ccaf7af1593793101ec2164fba19cf2d05ef.tar.gz
COMPMID-1897: ResNet50 does not load ACL tuner file passed at command line
Change-Id: I34bd93aae7ef36b6b276546dfb2fcd15812dff9c Reviewed-on: https://review.mlplatform.org/537 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/graph_resnet12.cpp4
-rw-r--r--examples/graph_resnet50.cpp4
-rw-r--r--examples/graph_resnet_v2_50.cpp4
-rw-r--r--examples/graph_srcnn955.cpp4
4 files changed, 12 insertions, 4 deletions
diff --git a/examples/graph_resnet12.cpp b/examples/graph_resnet12.cpp
index 334e7081fc..59128630b2 100644
--- a/examples/graph_resnet12.cpp
+++ b/examples/graph_resnet12.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -135,6 +135,8 @@ public:
GraphConfig config;
config.num_threads = common_params.threads;
config.use_tuner = common_params.enable_tuner;
+ config.tuner_file = common_params.tuner_file;
+
graph.finalize(common_params.target, config);
return true;
diff --git a/examples/graph_resnet50.cpp b/examples/graph_resnet50.cpp
index 25e0bd47c3..b6e20d610b 100644
--- a/examples/graph_resnet50.cpp
+++ b/examples/graph_resnet50.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 ARM Limited.
+ * Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -114,6 +114,8 @@ public:
GraphConfig config;
config.num_threads = common_params.threads;
config.use_tuner = common_params.enable_tuner;
+ config.tuner_file = common_params.tuner_file;
+
graph.finalize(common_params.target, config);
return true;
diff --git a/examples/graph_resnet_v2_50.cpp b/examples/graph_resnet_v2_50.cpp
index 3b6f8d3fa1..77807b83b4 100644
--- a/examples/graph_resnet_v2_50.cpp
+++ b/examples/graph_resnet_v2_50.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -117,6 +117,8 @@ public:
GraphConfig config;
config.num_threads = common_params.threads;
config.use_tuner = common_params.enable_tuner;
+ config.tuner_file = common_params.tuner_file;
+
graph.finalize(common_params.target, config);
return true;
diff --git a/examples/graph_srcnn955.cpp b/examples/graph_srcnn955.cpp
index f03e8fe287..a8976a1beb 100644
--- a/examples/graph_srcnn955.cpp
+++ b/examples/graph_srcnn955.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -121,6 +121,8 @@ public:
GraphConfig config;
config.num_threads = common_params.threads;
config.use_tuner = common_params.enable_tuner;
+ config.tuner_file = common_params.tuner_file;
+
graph.finalize(common_params.target, config);
return true;