Compatibility issues with intel-opencl-icd_22.14.22890-1_amd64 build

Bug #1998929 reported by Franck Charras
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
intel-compute-runtime (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm trying to run SYCL-based software on gpu (using dpctl:https://github.com/IntelPython/dpctl) and it requires the compute runtime to be installed to detect gpu devices.

The issue I have is that using the ubuntu build (installed with: `apt-get install intel-opencl-icd`) the gpu devices are not detected. The same version downloaded from github: https://github.com/intel/compute-runtime/releases/tag/22.14.22890 works. But for end users it's much easier to use the build available in the official repositories.

What differences in those two builds could explain this ?

I don't know if this is a bug on the SYCL side or something related to customization of the ubuntu build. I've mirrored the issue on intel/compute-runtime github: https://github.com/intel/compute-runtime/issues/588 . Considering also opening an issue on https://github.com/intel/llvm/ .

Tested on ubuntu focal and ubuntu jammy, using official latest ubuntu docker images.

Revision history for this message
Franck Charras (fcharras) wrote :

Additionnal issue opened on the SYCL side: https://github.com/intel/llvm/issues/7659

Revision history for this message
Olivier Grisel (olivier-grisel) wrote :

As discussed in the upstream issue:

https://github.com/intel/compute-runtime/issues/588#issuecomment-1401498033

The problem with Ubuntu version of this package seems to be caused by a missing dynamically linked `libopencl-clang.so.10` with the Ubuntu installed `libigdfcl.so.1`:

```
$ ldd /lib/x86_64-linux-gnu/libigdfcl.so.1
        linux-vdso.so.1 (0x00007ffd8d7e8000)
        libopencl-clang.so.10 => not found
```

This problem does not happen when manually installing all the dependencies with wget/dpkg as explained in the upstream repo:

https://github.com/intel/compute-runtime/releases/

There is probably a package metadata issue that prevents `apt` to automatically install everything as required.

Furthermore, this problem is also being discussed here:

https://github.com/IntelPython/dpctl/issues/1010

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in intel-compute-runtime (Ubuntu):
status: New → Confirmed
Revision history for this message
Olivier Grisel (olivier-grisel) wrote :

I think this package is maintained upstream by debian maintainers at:

https://salsa.debian.org/opencl-team

where there is some recent activity.

It would be worth checking if we can reproduce the problem in a debian sid docker container.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.