Skip to content

Commit 789342c

Browse files
committed
fix profiling crash
1 parent 5aa1105 commit 789342c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/ggml-opencl/ggml-opencl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ struct ggml_backend_opencl_context {
600600
if (ref_count == 0) {
601601
#ifdef GGML_OPENCL_PROFILING
602602
write_profiling_info();
603+
profiling_info.clear();
603604
#endif
604605
}
605606
}

0 commit comments

Comments
 (0)