Skip to content

Commit 4301e10

Browse files
gianni-corjpgaribotti
authored andcommitted
Amend vk profiling triplet
1 parent 65c9a90 commit 4301e10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,6 +1455,7 @@ class vk_perf_logger {
14551455
if (timings.size() > 0) {
14561456
ss << "Total time: " << total_all_op_times / 1000.0 << " us." << std::endl;
14571457
}
1458+
ss << std::endl;
14581459
GGML_LOG_DEBUG("%s", ss.str().c_str());
14591460
}
14601461

@@ -1505,8 +1506,8 @@ class vk_perf_logger {
15051506
ss << "Total operation types: " << operation_groups.size() << std::endl;
15061507
ss << "Total variations: " << triplet_timings.size() << std::endl;
15071508
ss << std::endl;
1508-
} catch (...) {
15091509
GGML_LOG_DEBUG("%s", ss.str().c_str());
1510+
} catch (...) {
15101511
GGML_LOG_DEBUG("Error in triplet timing analysis - analysis skipped.\n");
15111512
}
15121513
}

0 commit comments

Comments
 (0)