arm_compute v18.02
Change-Id: I7207aa488e5470f235f39b6c188b4678dc38d1a6
diff --git a/examples/cl_sgemm.cpp b/examples/cl_sgemm.cpp
index f2c6398..966661b 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 @@
}
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);
}
@@ -223,4 +198,4 @@
int main(int argc, char **argv)
{
return utils::run_example<CLSGEMMExample>(argc, argv);
-}
+}
\ No newline at end of file