diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-07-13 15:55:24 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 7b607dc5058d2f6a398cfac4d2eab65d415c3733 (patch) | |
tree | 8597679faf0fb1b389b7ffa7f3d424d527863a1c /examples | |
parent | 11a7e32230121e457252084f8b93357814fe57e5 (diff) | |
download | ComputeLibrary-7b607dc5058d2f6a398cfac4d2eab65d415c3733.tar.gz |
COMPMID-1400: Add command line option to specify the tuner's config file
Change-Id: Ib597e0dff4c8c01f7e6bd46d03824beef4bc1e9a
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139923
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/graph_alexnet.cpp | 2 | ||||
-rw-r--r-- | examples/graph_googlenet.cpp | 2 | ||||
-rw-r--r-- | examples/graph_inception_v3.cpp | 2 | ||||
-rw-r--r-- | examples/graph_inception_v4.cpp | 2 | ||||
-rw-r--r-- | examples/graph_lenet.cpp | 2 | ||||
-rw-r--r-- | examples/graph_mobilenet.cpp | 2 | ||||
-rw-r--r-- | examples/graph_resnext50.cpp | 2 | ||||
-rw-r--r-- | examples/graph_squeezenet.cpp | 2 | ||||
-rw-r--r-- | examples/graph_squeezenet_v1_1.cpp | 2 | ||||
-rw-r--r-- | examples/graph_vgg16.cpp | 2 | ||||
-rw-r--r-- | examples/graph_vgg19.cpp | 2 |
11 files changed, 22 insertions, 0 deletions
diff --git a/examples/graph_alexnet.cpp b/examples/graph_alexnet.cpp index bf4d131ac5..e4bc2da571 100644 --- a/examples/graph_alexnet.cpp +++ b/examples/graph_alexnet.cpp @@ -149,6 +149,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_googlenet.cpp b/examples/graph_googlenet.cpp index ff7992c164..f9cb9787f1 100644 --- a/examples/graph_googlenet.cpp +++ b/examples/graph_googlenet.cpp @@ -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; diff --git a/examples/graph_inception_v3.cpp b/examples/graph_inception_v3.cpp index 1b7b0fd6c2..6262193b02 100644 --- a/examples/graph_inception_v3.cpp +++ b/examples/graph_inception_v3.cpp @@ -199,6 +199,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_inception_v4.cpp b/examples/graph_inception_v4.cpp index 93166a41c2..def73dff7a 100644 --- a/examples/graph_inception_v4.cpp +++ b/examples/graph_inception_v4.cpp @@ -143,6 +143,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_lenet.cpp b/examples/graph_lenet.cpp index 9be5bed6a1..c02e2f9ec0 100644 --- a/examples/graph_lenet.cpp +++ b/examples/graph_lenet.cpp @@ -105,6 +105,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_mobilenet.cpp b/examples/graph_mobilenet.cpp index 2b662d9055..395936b8f7 100644 --- a/examples/graph_mobilenet.cpp +++ b/examples/graph_mobilenet.cpp @@ -109,6 +109,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_resnext50.cpp b/examples/graph_resnext50.cpp index 0fce3a1b04..a02e406acb 100644 --- a/examples/graph_resnext50.cpp +++ b/examples/graph_resnext50.cpp @@ -97,6 +97,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_squeezenet.cpp b/examples/graph_squeezenet.cpp index 09fb1c5960..9751539af6 100644 --- a/examples/graph_squeezenet.cpp +++ b/examples/graph_squeezenet.cpp @@ -156,6 +156,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_squeezenet_v1_1.cpp b/examples/graph_squeezenet_v1_1.cpp index 75ea6b258b..be0c326f2a 100644 --- a/examples/graph_squeezenet_v1_1.cpp +++ b/examples/graph_squeezenet_v1_1.cpp @@ -158,6 +158,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_vgg16.cpp b/examples/graph_vgg16.cpp index c2a9b82f68..8ce1221ead 100644 --- a/examples/graph_vgg16.cpp +++ b/examples/graph_vgg16.cpp @@ -213,6 +213,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_vgg19.cpp b/examples/graph_vgg19.cpp index 8de0223a48..dcde4a2a65 100644 --- a/examples/graph_vgg19.cpp +++ b/examples/graph_vgg19.cpp @@ -225,6 +225,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; |