Compare commits

...

1 Commits

Author SHA1 Message Date
shaofeiqi 5c7c22c3e1 opencl: flush profiling batch at shutdown for incomplete batches (#25016) 2026-06-25 18:48:24 -07:00
+1
View File
@@ -850,6 +850,7 @@ struct ggml_backend_opencl_context {
ref_count--;
if (ref_count == 0) {
#ifdef GGML_OPENCL_PROFILING
flush_profiling_batch();
write_profiling_info();
profiling_results.clear();
#endif