The llama.cpp project released version b10229, which includes a critical bugfix for the OpenCL backend. The update addresses an issue where profiling data failed to be written during program termination.

  • The fix increments the `ref_count` in `ggml_backend_opencl_init()` to prevent it from becoming -1 in the `free()` method.
  • This ensures that profiling data is correctly flushed and saved when `GGML_OPENCL_PROFILING` is enabled.
  • Binaries are available for macOS, Linux, Windows, Android, and openEuler across CPU, CUDA, Vulkan, ROCm, OpenVINO, SYCL, and HIP backends.

This change ensures that users relying on OpenCL profiling can successfully capture and analyze performance metrics without data loss.