From f3622becf1f0d6bf5147ebb7d6d0f14d5252860a Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Mon, 29 Jul 2019 14:27:16 +0100 Subject: COMPMID-1979: Fuse Activation Function in CLGEMM - part 4 Fused activation function in CLGEMM Change-Id: I644fdf09349325c0b3a2cd5fef2a3ea2c974149d Signed-off-by: Gian Marco Iodice Reviewed-on: https://review.mlplatform.org/c/1640 Comments-Addressed: Arm Jenkins Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- examples/cl_cache.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'examples') diff --git a/examples/cl_cache.cpp b/examples/cl_cache.cpp index 998c4682ba..7d8a515424 100644 --- a/examples/cl_cache.cpp +++ b/examples/cl_cache.cpp @@ -28,8 +28,6 @@ #include "arm_compute/runtime/CL/CLScheduler.h" #include "utils/Utils.h" -#include - using namespace arm_compute; using namespace utils; @@ -46,7 +44,7 @@ public: { std::cout << "Once the program has run and created the file cache.bin, rerun with --restore_cache." << std::endl; CLScheduler::get().default_init(); - auto start_time = std::chrono::high_resolution_clock::now(); + if(argc > 1) { std::string argv1 = argv[1]; @@ -88,10 +86,6 @@ public: permute_nchw.configure(&tensor_nhwc, &tensor_nchw_result, vector_nhwc_to_nchw); tensor_nchw_result.allocator()->allocate(); - auto end_time = std::chrono::high_resolution_clock::now(); - auto time_elapsed = end_time - start_time; - auto time_elapsed_ms = std::chrono::duration_cast(time_elapsed).count(); - std::cout << "Configuration time " << time_elapsed_ms << " ms " << std::endl; // Save the opencl kernels to a file save_program_cache_to_file(); -- cgit v1.2.1