From: rmatif Date: Wed, 6 Aug 2025 21:17:51 +0000 (+0200) Subject: fix profiling crash (llama/15072) X-Git-Tag: upstream/0.0.2446~31 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=4eb04d0ef87537f8f9ed6bca026962d5ede6e06f;p=pkg%2Fggml%2Fsources%2Fggml fix profiling crash (llama/15072) --- diff --git a/src/ggml-opencl/ggml-opencl.cpp b/src/ggml-opencl/ggml-opencl.cpp index eea6ad6c..4f765ab5 100644 --- a/src/ggml-opencl/ggml-opencl.cpp +++ b/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 } }