Skip to content

Commit b71d8a0

Browse files
threads: fix whitespaces in barrier test
1 parent 35ee437 commit b71d8a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test-barrier.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ int main(int argc, char *argv[]) {
5454
fprintf(stderr, "threadpool create failed : n_threads %d\n", n_threads);
5555
exit(1);
5656
}
57-
57+
5858
// Create compute plan
5959
struct ggml_cplan cplan = ggml_graph_plan(gf, n_threads, threadpool);
6060

6161
std::vector<uint8_t> work_data(cplan.work_size);
6262
cplan.work_data = work_data.data();
6363

6464
std::cerr << "graph-compute with"
65-
<< "\n n_threads: " << n_threads
65+
<< "\n n_threads: " << n_threads
6666
<< "\n n_nodes: " << n_nodes
6767
<< "\n n_rounds: " << n_rounds
6868
<< "\n";
@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
8181

8282
auto usec = std::chrono::duration_cast<std::chrono::microseconds>(t1-t0).count();
8383
auto nsec = std::chrono::duration_cast<std::chrono::nanoseconds>(t1-t0).count();
84-
std::cerr << "graph-compute took " << usec << " usec "
84+
std::cerr << "graph-compute took " << usec << " usec "
8585
<< "\n " << (float) usec / n_rounds << " usec per-iter"
8686
<< "\n " << (float) nsec / (n_rounds * n_nodes) << " nsec per-node"
8787
<< "\n";

0 commit comments

Comments
 (0)