From b71d8a0dd5bf50a12cba32ba75a89d0c350ad625 Mon Sep 17 00:00:00 2001 From: Max Krasnyansky Date: Mon, 16 Sep 2024 08:38:29 -0700 Subject: [PATCH] threads: fix whitespaces in barrier test --- tests/test-barrier.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-barrier.cpp b/tests/test-barrier.cpp index 6ee2fca6b12099..674dc0fa03903e 100644 --- a/tests/test-barrier.cpp +++ b/tests/test-barrier.cpp @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) { fprintf(stderr, "threadpool create failed : n_threads %d\n", n_threads); exit(1); } - + // Create compute plan struct ggml_cplan cplan = ggml_graph_plan(gf, n_threads, threadpool); @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) { cplan.work_data = work_data.data(); std::cerr << "graph-compute with" - << "\n n_threads: " << n_threads + << "\n n_threads: " << n_threads << "\n n_nodes: " << n_nodes << "\n n_rounds: " << n_rounds << "\n"; @@ -81,7 +81,7 @@ int main(int argc, char *argv[]) { auto usec = std::chrono::duration_cast(t1-t0).count(); auto nsec = std::chrono::duration_cast(t1-t0).count(); - std::cerr << "graph-compute took " << usec << " usec " + std::cerr << "graph-compute took " << usec << " usec " << "\n " << (float) usec / n_rounds << " usec per-iter" << "\n " << (float) nsec / (n_rounds * n_nodes) << " nsec per-node" << "\n";