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/gc_absdiff.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/gc_absdiff.cpp') diff --git a/examples/gc_absdiff.cpp b/examples/gc_absdiff.cpp index 18043e3fca..997feed8e8 100644 --- a/examples/gc_absdiff.cpp +++ b/examples/gc_absdiff.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017, 2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -34,7 +34,7 @@ using namespace arm_compute; using namespace utils; -void main_gc_absdiff(int argc, const char **argv) +void main_gc_absdiff(int argc, char **argv) { PPMLoader ppm1, ppm2; GCImage src1, src2, dst; @@ -105,7 +105,7 @@ void main_gc_absdiff(int argc, const char **argv) * @param[in] argc Number of arguments * @param[in] argv Arguments ( [optional] Path to the first PPM image to process, [optional] Path the the second PPM image to process ) */ -int main(int argc, const char **argv) +int main(int argc, char **argv) { return utils::run_example(argc, argv, main_gc_absdiff); } -- cgit v1.2.1