On 18/06/2023 03:37, Paul Wise wrote:
Presumably any of the OpenCL ICDs work for most packages?

For most OpenCL-using *packages* but not most *hardware*. (Except for pocl-opencl-icd, which works nearly everywhere but is slow.)

Perhaps there should be a default-opencl-icd virtual package?

Hence, such a package would need to Depend on or Recommend *all* the ICDs, similar to xorg-xserver-video-all.

I have proposed this before (see 31-Jan-2015 pkg-opencl-devel), but never actually did it, partly because there are applications that implicitly assume that all the installed ICDs work, and may fail to find the usable ICD if there are unusable ones installed. (I consider this to be a bug in the application, but finding and fixing these would take time.)

PS: I noticed this because beignet-opencl-icd is RC-buggy. This is the
only OpenCL ICD implementation package I can see that supports Intel
Ivy Bridge, but it is hard to tell which other packages support this,
because some descriptions don't mention which hardware is supported.

I think of it as
intel-opencl-icd = Intel integrated GPUs (replacing beignet-opencl-icd, which as you note, no longer builds)
mesa-opencl-icd = ATI GPUs (including AMD integrated GPUs)
pocl-opencl-icd = CPUs
but that might be out of date.

Reply via email to