@@ -688,9 +688,7 @@ struct printer {
688688
689689 virtual void print_overall_summary (const overall_summary_info & info) { (void ) info; }
690690
691- virtual void print_failed_tests (const std::vector<std::string> & failed_tests) {
692- (void ) failed_tests;
693- }
691+ virtual void print_failed_tests (const std::vector<std::string> & failed_tests) { (void ) failed_tests; }
694692};
695693
696694struct console_printer : public printer {
@@ -1144,7 +1142,10 @@ struct test_case {
11441142 }
11451143 }
11461144
1147- test_status_t eval (ggml_backend_t backend1, ggml_backend_t backend2, const char * op_names_filter, printer * output_printer) {
1145+ test_status_t eval (ggml_backend_t backend1,
1146+ ggml_backend_t backend2,
1147+ const char * op_names_filter,
1148+ printer * output_printer) {
11481149 mode = MODE_TEST;
11491150
11501151 ggml_init_params params = {
@@ -1161,7 +1162,7 @@ struct test_case {
11611162 add_sentinel (ctx);
11621163
11631164 ggml_tensor * out = build_graph (ctx);
1164- current_op_name = op_desc (out);
1165+ current_op_name = op_desc (out);
11651166
11661167 if (!matches_filter (out, op_names_filter)) {
11671168 // printf(" %s: skipping\n", op_desc(out).c_str());
@@ -1324,7 +1325,7 @@ struct test_case {
13241325 GGML_ASSERT (ctx);
13251326
13261327 ggml_tensor * out = build_graph (ctx.get ());
1327- current_op_name = op_desc (out);
1328+ current_op_name = op_desc (out);
13281329 if (!matches_filter (out, op_names_filter)) {
13291330 // printf(" %s: skipping\n", op_desc(out).c_str());
13301331 return true ;
@@ -1454,7 +1455,7 @@ struct test_case {
14541455 GGML_ASSERT (ctx);
14551456
14561457 ggml_tensor * out = build_graph (ctx.get ());
1457- current_op_name = op_desc (out);
1458+ current_op_name = op_desc (out);
14581459
14591460 if (!matches_filter (out, op_names_filter)) {
14601461 return true ;
@@ -7375,7 +7376,7 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
73757376 }
73767377
73777378 size_t n_ok = 0 ;
7378- size_t tests_run = 0 ;
7379+ size_t tests_run = 0 ;
73797380 std::vector<std::string> failed_tests;
73807381 for (auto & test : test_cases) {
73817382 test_status_t status = test->eval (backend, backend_cpu, op_names_filter, output_printer);
0 commit comments