From 6db0ff5b4bb49f834c7caa532a7feab228df10f9 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Fri, 5 Jan 2018 10:59:12 +0000 Subject: COMPMID-771 Allow examples to be profiled Change-Id: I180281e796e1670b9ad391d82d66ecde0119ef78 Note: this is for internal use only which is why I think the hackiness of RunExample.cpp is acceptable. Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/115154 Tested-by: Jenkins Reviewed-by: Pablo Tello Reviewed-by: Georgios Pinitas --- examples/graph_googlenet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/graph_googlenet.cpp') diff --git a/examples/graph_googlenet.cpp b/examples/graph_googlenet.cpp index d08382ab8e..746d558389 100644 --- a/examples/graph_googlenet.cpp +++ b/examples/graph_googlenet.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017, 2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -97,7 +97,7 @@ BranchLayer get_inception_node(const std::string &data_path, std::string &¶m * @param[in] argc Number of arguments * @param[in] argv Arguments ( [optional] Target (0 = NEON, 1 = OpenCL), [optional] Path to the weights folder, [optional] image, [optional] labels ) */ -void main_graph_googlenet(int argc, const char **argv) +void main_graph_googlenet(int argc, char **argv) { std::string data_path; /* Path to the trainable data */ std::string image; /* Image data */ @@ -198,7 +198,7 @@ void main_graph_googlenet(int argc, const char **argv) * @param[in] argc Number of arguments * @param[in] argv Arguments ( [optional] Target (0 = NEON, 1 = OpenCL), [optional] Path to the weights folder, [optional] image, [optional] labels ) */ -int main(int argc, const char **argv) +int main(int argc, char **argv) { return arm_compute::utils::run_example(argc, argv, main_graph_googlenet); } -- cgit v1.2.1