aboutsummaryrefslogtreecommitdiff
path: root/examples/cl_sgemm.cpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-01-05 10:59:12 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:33 +0000
commit6db0ff5b4bb49f834c7caa532a7feab228df10f9 (patch)
tree36c32ab3e94a86752d6b73c4a3503b191431d586 /examples/cl_sgemm.cpp
parentfde97fb84943d0328c2c532d117e9b875149f27e (diff)
downloadComputeLibrary-6db0ff5b4bb49f834c7caa532a7feab228df10f9.tar.gz
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 <bsgcomp@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'examples/cl_sgemm.cpp')
-rw-r--r--examples/cl_sgemm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/cl_sgemm.cpp b/examples/cl_sgemm.cpp
index e1729a85b0..939870fabf 100644
--- a/examples/cl_sgemm.cpp
+++ b/examples/cl_sgemm.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017, 2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -36,7 +36,7 @@
using namespace arm_compute;
using namespace utils;
-void main_cl_sgemm(int argc, const char **argv)
+void main_cl_sgemm(int argc, char **argv)
{
NPYLoader npy0, npy1, npy2;
CLTensor src0, src1, src2, dst;
@@ -210,7 +210,7 @@ void main_cl_sgemm(int argc, const char **argv)
* @param[in] argc Number of arguments
* @param[in] argv Arguments ( [optional] Matrix A, [optional] Matrix B, [optional] Matrix C, [optional] alpha, [optional] beta )
*/
-int main(int argc, const char **argv)
+int main(int argc, char **argv)
{
return utils::run_example(argc, argv, main_cl_sgemm);
}