fix profiling crash (llama/15072)

This commit is contained in:
rmatif
2025-08-18 20:30:45 +03:00
committed by Georgi Gerganov
parent d153cfb507
commit b405fd88b3
+1
View File
@@ -602,6 +602,7 @@ struct ggml_backend_opencl_context {
if (ref_count == 0) {
#ifdef GGML_OPENCL_PROFILING
write_profiling_info();
profiling_info.clear();
#endif
}
}