File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ int main(int argc, char *argv[]) {
54
54
fprintf (stderr, " threadpool create failed : n_threads %d\n " , n_threads);
55
55
exit (1 );
56
56
}
57
-
57
+
58
58
// Create compute plan
59
59
struct ggml_cplan cplan = ggml_graph_plan (gf, n_threads, threadpool);
60
60
61
61
std::vector<uint8_t > work_data (cplan.work_size );
62
62
cplan.work_data = work_data.data ();
63
63
64
64
std::cerr << " graph-compute with"
65
- << " \n n_threads: " << n_threads
65
+ << " \n n_threads: " << n_threads
66
66
<< " \n n_nodes: " << n_nodes
67
67
<< " \n n_rounds: " << n_rounds
68
68
<< " \n " ;
@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
81
81
82
82
auto usec = std::chrono::duration_cast<std::chrono::microseconds>(t1-t0).count ();
83
83
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 "
85
85
<< " \n " << (float ) usec / n_rounds << " usec per-iter"
86
86
<< " \n " << (float ) nsec / (n_rounds * n_nodes) << " nsec per-node"
87
87
<< " \n " ;
You can’t perform that action at this time.
0 commit comments