From bf5fb39cbe9a8ab47f64838ef8947693c940d35f Mon Sep 17 00:00:00 2001 From: zhuchao <1970478819@qq.com> Date: Thu, 8 Dec 2022 18:22:43 +0800 Subject: [PATCH] update demo --- Hyper_tuner/testdemo/omp-mpi/memory_bound.c | 2 +- Hyper_tuner/testdemo/omp-mpi/memory_bound_mod.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Hyper_tuner/testdemo/omp-mpi/memory_bound.c b/Hyper_tuner/testdemo/omp-mpi/memory_bound.c index e55d49d..13fb4b9 100644 --- a/Hyper_tuner/testdemo/omp-mpi/memory_bound.c +++ b/Hyper_tuner/testdemo/omp-mpi/memory_bound.c @@ -36,6 +36,6 @@ int main() MemoryBoundBench(pointA, ret, MAX_ARRAY_SIZE); } uint64_t ts_end = GetTime_ns(); - printf("Total Cost Time = %f ms\n", (ts_end - ts_start) / 1000000.0) + printf("Total Cost Time = %f ms\n", (ts_end - ts_start) / 1000000.0); return 0; } diff --git a/Hyper_tuner/testdemo/omp-mpi/memory_bound_mod.c b/Hyper_tuner/testdemo/omp-mpi/memory_bound_mod.c index ded3886..86d3d9e 100644 --- a/Hyper_tuner/testdemo/omp-mpi/memory_bound_mod.c +++ b/Hyper_tuner/testdemo/omp-mpi/memory_bound_mod.c @@ -39,6 +39,6 @@ int main() MemoryBoundBench_OPT(pointA, ret, MAX_ARRAY_SIZE); } uint64_t ts_end = GetTime_ns(); - printf("Total Cost Time = %f ms\n", (ts_end - ts_start) / 1000000.0) + printf("Total Cost Time = %f ms\n", (ts_end - ts_start) / 1000000.0); return 0; } -- Gitee