From 30918ce750a1f735377c16a83d540d2ec82265a3 Mon Sep 17 00:00:00 2001 From: Majid Geravand <44868211+Gfuse@users.noreply.github.com> Date: Fri, 25 Jun 2021 11:55:16 +0200 Subject: [PATCH] Update main.cpp --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 728c479..3cf023a 100755 --- a/main.cpp +++ b/main.cpp @@ -72,7 +72,7 @@ int main() { gpu.run(0,752,480,1); time_accumulator += ((cv::getTickCount() - t) / cv::getTickFrequency()); } - printf("OpenCL took %f ms (average over %d trials).\n", time_accumulator/((double)1000)*1000.0, 1000 ); + printf("OpenCL took %f s (average over %d trials).\n", time_accumulator, 1000 ); int icorner_[1]={0}; gpu.read(0,2,icorner_); cl_int2 corners[740*450];