mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-19 01:07:11 +02:00
fix profiling crash (llama/15072)
This commit is contained in:
@@ -602,6 +602,7 @@ struct ggml_backend_opencl_context {
|
||||
if (ref_count == 0) {
|
||||
#ifdef GGML_OPENCL_PROFILING
|
||||
write_profiling_info();
|
||||
profiling_info.clear();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user