From 1df9ccaf7af1593793101ec2164fba19cf2d05ef Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Thu, 17 Jan 2019 13:20:32 +0000 Subject: 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 Tested-by: Arm Jenkins --- examples/graph_resnet12.cpp | 4 +++- examples/graph_resnet50.cpp | 4 +++- examples/graph_resnet_v2_50.cpp | 4 +++- examples/graph_srcnn955.cpp | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'examples') 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; -- cgit v1.2.1