[Pkg-opencl-devel] opencl-icd virtual package(s)?

Paul Wise pabs at debian.org
Mon Jun 19 05:10:22 BST 2023


On Sun, 2023-06-18 at 07:28 +0100, Rebecca N. Palmer wrote:

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

Ah. So considering what Vincent said, something like this?

   Package: some-opencl-using-package
   Recommends: opencl-icd-all | opencl-icd
   
   Package: opencl-icd-all
   Section: metapackages
   Depends:
    beignet-opencl-icd,
    intel-opencl-icd,
    mesa-opencl-icd,
    pocl-opencl-icd,
   
   Package: opencl-icd-all-non-free
   Section: non-free/metapackages
   Depends:
    opencl-icd-all-free,
    nvidia-legacy-340xx-opencl-icd,
    nvidia-legacy-390xx-opencl-icd,
    nvidia-opencl-icd,
    nvidia-tesla-418-opencl-icd,
    nvidia-tesla-450-opencl-icd,
    nvidia-tesla-460-opencl-icd,
    nvidia-tesla-470-opencl-icd,
    nvidia-tesla-510-opencl-icd,
    nvidia-tesla-opencl-icd,

> 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.)

Since we just opened trixie for development, maybe now is the time
to do this, so that the problems can be found via bug reports?

> intel-opencl-icd = Intel integrated GPUs (replacing beignet-opencl-icd, 
> which as you note, no longer builds)

Unfortunately intel-opencl-icd can't replace beignet-opencl-icd
because the former doesn't support old hardware. At least on my
system, clinfo says only pocl and beignet have supported devices.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-opencl-devel/attachments/20230619/91e59260/attachment.sig>


More information about the Pkg-opencl-devel mailing list