You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The intel compute runtime from ubuntu repository is not compatible with dpctl #1010
Within a new ubuntu:jammy docker container, this sequence of instructions should setup a working conda install for the numba_dpex stack (including dpctl)
and in particular the last command should print a list that includes an opencl gpu device, hinting that the gpu runtime works., but it turns out not to show any gpu device.
However, replacing the intel-opencl-icd package with a build from intel/compute-runtime github releases (same version) fixes the issue:
edit 19/12: the dpcpp runtime must be pinned until #1022 is solved, replace intel::dpcpp_linux-64 with "intel::dpcpp_linux-64<2023.0.0' in the conda install commmand.
I realize what's happening now. Using apt-get install -y ocl-icd-opencl-dev intel-opencl-icd you are getting rather old Intel-OpenCL-ICD, over a year old:
opavlyk@opavlyk-mobl:~$ sudo apt list --installed | grep intel
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
intel-opencl-icd/jammy,now 22.14.22890-1 amd64 [installed]
libdrm-intel1/jammy,now 2.4.110-1ubuntu1 amd64 [installed,automatic]
opavlyk@opavlyk-mobl:~$ sudo apt list --installed | grep gmm
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libigdgmm12/jammy,now 22.1.2+ds1-1 amd64 [installed,automatic]
I can understand that there are several sources for getting the runtime and that some of those are more reliable or up to date than other, my concern is that other users can be misled like I was to an unreliable source.
Looking back at it, I think my misfortune mostly comes from having read this README before any other documentation regarding the runtime, this repository being the only suggested source by the intel/llvm github repository. I'll try to follow up and suggest at least editing the README.
you are getting rather old Intel-OpenCL-ICD, over a year old:
It's true but the version is definitely not the issue here. The same version installed from there works. So the issue is the build recipe for ubuntu official .deb packages. There's a probability the build issue hasn't been fixed in latest ubuntu releases and it still ships packages that do not support all the scope of features it should. Frankly intel-opencl-icd package isn't a dependency of any other package in ubuntu repositories so I think it would be better removed from there (so that users have no choice but finding out the best source) than distributed in this state.
Activity
oleksandr-pavlyk commentedon Jan 27, 2023
I realize what's happening now. Using
apt-get install -y ocl-icd-opencl-dev intel-opencl-icdyou are getting rather old Intel-OpenCL-ICD, over a year old:If, instead, you followed instructions from https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-jammy-arc.html to install these packages from Intel-maintained repo of graphics drivers you'd be getting much newer driver stack and the problem would resolve itself.
fcharras commentedon Jan 30, 2023
I can understand that there are several sources for getting the runtime and that some of those are more reliable or up to date than other, my concern is that other users can be misled like I was to an unreliable source.
Looking back at it, I think my misfortune mostly comes from having read this README before any other documentation regarding the runtime, this repository being the only suggested source by the intel/llvm github repository. I'll try to follow up and suggest at least editing the README.
It's true but the version is definitely not the issue here. The same version installed from there works. So the issue is the build recipe for ubuntu official
.debpackages. There's a probability the build issue hasn't been fixed in latest ubuntu releases and it still ships packages that do not support all the scope of features it should. Franklyintel-opencl-icdpackage isn't a dependency of any other package in ubuntu repositories so I think it would be better removed from there (so that users have no choice but finding out the best source) than distributed in this state.