mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-14 02:49:41 +00:00
fix profiling crash (#15072)
This commit is contained in:
parent
e725a1a982
commit
756cfea826
1 changed files with 1 additions and 0 deletions
|
@ -602,6 +602,7 @@ struct ggml_backend_opencl_context {
|
||||||
if (ref_count == 0) {
|
if (ref_count == 0) {
|
||||||
#ifdef GGML_OPENCL_PROFILING
|
#ifdef GGML_OPENCL_PROFILING
|
||||||
write_profiling_info();
|
write_profiling_info();
|
||||||
|
profiling_info.clear();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue