From: rmatif Date: Wed, 6 Aug 2025 21:17:51 +0000 (+0200) Subject: fix profiling crash (llama/15072) X-Git-Tag: upstream/1.8.0~295 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=b405fd88b382fd29096f34d081b338d49ebcc34a;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp fix profiling crash (llama/15072) --- diff --git a/ggml/src/ggml-opencl/ggml-opencl.cpp b/ggml/src/ggml-opencl/ggml-opencl.cpp index eea6ad6c..4f765ab5 100644 --- a/ggml/src/ggml-opencl/ggml-opencl.cpp +++ b/ggml/src/ggml-opencl/ggml-opencl.cpp @@ -602,6 +602,7 @@ struct ggml_backend_opencl_context { if (ref_count == 0) { #ifdef GGML_OPENCL_PROFILING write_profiling_info(); + profiling_info.clear(); #endif } }