Skip to content

Conversation

@Kerilk
Copy link
Contributor

@Kerilk Kerilk commented Sep 17, 2025

TODO: Fix leak if platform gets discarded.

Should fix: #39

@ilya-zlobintsev
Copy link

This fixes the segfault when enumerating multiple OpenCL platforms on my system (rusticl+intel-compute-runtime in this case specifically, but the segfault was reported numerously on AMD and Nvidia as well)

@karolherbst
Copy link

Fixes it also for me, thanks!

@Kerilk
Copy link
Contributor Author

Kerilk commented Sep 18, 2025

Thanks for the quick check, and sorry again I missed the issue for so long. Doing a release immediately and will push to ppa.

@Kerilk Kerilk merged commit ab85288 into master Sep 18, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mixing cl_khr_icd version 1 and 2 ICD causes qsort to overwrite dispatch table to NULL

4 participants