Skip to content

Commit 219745e

Browse files
author
Anoop Kapoor
committed
fixed identation issue
1 parent 2031628 commit 219745e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ggml/src/ggml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7256,7 +7256,7 @@ void ggml_perf_accumulate(struct ggml_perf_totals totals[GGML_OP_COUNT], struct
72567256
enum ggml_unary_op subop = ggml_get_unary_op(node);
72577257
totals[op].unary_subtotals[subop].total_us += node->perf_time_us;
72587258
totals[op].unary_subtotals[subop].runs += node->perf_runs;
7259-
totals[op].unary_subtotals[subop].tsi_kernel_count += node->tsi_kernel_runs;
7259+
totals[op].unary_subtotals[subop].tsi_kernel_count += node->tsi_kernel_runs;
72607260
}
72617261
}
72627262
}

src/llama-context.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2801,11 +2801,11 @@ void ggml_perf_print_totals(struct ggml_perf_totals totals[GGML_OP_COUNT]) {
28012801
char padded_backend[7] = {0}; // 6 chars + null terminator
28022802
snprintf(padded_backend, sizeof(padded_backend), "%-6s", backend_name);
28032803

2804-
LLAMA_LOG_TSAVORITE(" %-16s %-8s %7ld %14ld %16ld %16.2f\n",
2804+
LLAMA_LOG_TSAVORITE(" %-16s %-8s %7ld %14ld %16ld %16.2f\n",
28052805
totals[i].op_name ? totals[i].op_name : "UNKNOWN",
28062806
padded_backend,
28072807
totals[i].backend_subtotals[b].runs,
2808-
totals[i].backend_subtotals[b].tsi_kernel_count,
2808+
totals[i].backend_subtotals[b].tsi_kernel_count,
28092809
totals[i].backend_subtotals[b].total_us,
28102810
(double)totals[i].backend_subtotals[b].total_us / totals[i].backend_subtotals[b].runs);
28112811
}
@@ -2831,7 +2831,7 @@ void ggml_perf_print_totals(struct ggml_perf_totals totals[GGML_OP_COUNT]) {
28312831
ggml_unary_op_name((enum ggml_unary_op) j),
28322832
padded_backend,
28332833
totals[i].unary_subtotals[j].runs,
2834-
totals[i].unary_subtotals[j].tsi_kernel_count,
2834+
totals[i].unary_subtotals[j].tsi_kernel_count,
28352835
totals[i].unary_subtotals[j].total_us,
28362836
(double)totals[i].unary_subtotals[j].total_us / totals[i].unary_subtotals[j].runs);
28372837
}

0 commit comments

Comments
 (0)