From 85e6f518ace17547d6f35ed0e1cfbc39ffb95736 Mon Sep 17 00:00:00 2001 From: Gian Marco Date: Thu, 1 Feb 2018 16:57:48 +0000 Subject: COMPMID-891 - Use OpenCL timer in CLTuner Change-Id: I84a914c13b162c4f74321c9cafc30a18ad4ebbdb Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/118797 Tested-by: Jenkins Reviewed-by: Georgios Pinitas --- examples/cl_sgemm.cpp | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) (limited to 'examples/cl_sgemm.cpp') diff --git a/examples/cl_sgemm.cpp b/examples/cl_sgemm.cpp index f2c63985f6..fa57885450 100644 --- a/examples/cl_sgemm.cpp +++ b/examples/cl_sgemm.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2018 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -175,32 +175,7 @@ public: } void do_teardown() override { - if(output_filename.empty()) /* If the inputs were not files, print the results */ - { - std::cout << "\nMatrix 1:" << std::endl; - src0.map(true); - src0.print(std::cout, IOFormatInfo()); - src0.unmap(); - - std::cout << "Matrix 2:" << std::endl; - src1.map(true); - src1.print(std::cout, IOFormatInfo()); - src1.unmap(); - - std::cout << "Matrix 3:" << std::endl; - src2.map(true); - src2.print(std::cout, IOFormatInfo()); - src2.unmap(); - - std::cout << "Alpha:" << alpha << "\n\n"; - std::cout << "Beta:" << beta << "\n\n"; - - std::cout << "Output Matrix:" << std::endl; - dst.map(true); - dst.print(std::cout, IOFormatInfo()); - dst.unmap(); - } - else /* Save to .npy file */ + if(!output_filename.empty()) /* Save to .npy file */ { save_to_npy(dst, output_filename, is_fortran); } -- cgit v1.2.1