mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-07-10 01:18:32 +00:00
opencl: flush profiling batch at shutdown for incomplete batches (#25016)
This commit is contained in:
parent
beac5309f1
commit
5c7c22c3e1
1 changed files with 1 additions and 0 deletions
|
|
@ -850,6 +850,7 @@ struct ggml_backend_opencl_context {
|
|||
ref_count--;
|
||||
if (ref_count == 0) {
|
||||
#ifdef GGML_OPENCL_PROFILING
|
||||
flush_profiling_batch();
|
||||
write_profiling_info();
|
||||
profiling_results.clear();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue