Jdanecki/intel-opencl

Intel(R) Graphics Compute Runtime for OpenCL(TM). Replaces Beignet for Gen8 (Broadwell) and beyond. https://01.org/compute-runtime


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/jdanecki/intel-opencl/
2 Likes

This is awesome. I finally upgraded a dev box from Fedora 26 to 30 that had stable Intel OpenCL drivers but was afraid none of this would work in 30. I find this NEO packaging is working great for me and look forward to it going into general repos. Thanks!

1 Like

Just want to add my appreciation. I am running Fedora 31 beta on an Intel NUC “Hades Canyon” (so Intel and AMD GPUs). I was able to install and test SODECL, a library of ordinary differential equation (ODE) and stochastic differential equation (SDE) solvers in OpenCL.

Really look forward to this going into the main repos.

Great, thanks.

This seems like a great package to integrate into the main Fedora repos. Are there any plans to do so?

Yes, it’s on my todo list.

I am experiencing library version issues on Fedora 31 when installing the intel-media-driver from the Fedora repositories together with the intel-opencl package. It seems that the Fedora intel-media-driver requires an older version of the intel-gmmlib package and that creates a conflict. Ideally, this Intel OpenCL repository should become a part of the official Fedora repos because it is essential software for Intel chips.

Issue with intel-media-driver was reported in this github issue: https://github.com/intel/compute-runtime/issues/196.

Dear Jacek,

The repository (at least for CentOS7) seems to be broken at the moment. :frowning:

[bash][atlas]:workdir > sudo yum -y install intel-opencl
Loaded plugins: copr, fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.mirror.ate.info
 * epel: linuxsoft.cern.ch
 * extras: mirror.plusserver.com
 * updates: centos.mirror.ate.info
Resolving Dependencies
--> Running transaction check
---> Package intel-opencl.x86_64 0:20.28.17293-1.el7 will be installed
--> Processing Dependency: intel-gmmlib = 20.2.2 for package: intel-opencl-20.28.17293-1.el7.x86_64
--> Processing Dependency: intel-igc-opencl = 1.0.4241 for package: intel-opencl-20.28.17293-1.el7.x86_64
--> Processing Dependency: libigdgmm.so.11()(64bit) for package: intel-opencl-20.28.17293-1.el7.x86_64
--> Running transaction check
---> Package intel-gmmlib.x86_64 0:20.2.2-1.el7 will be installed
---> Package intel-opencl.x86_64 0:20.28.17293-1.el7 will be installed
--> Processing Dependency: intel-igc-opencl = 1.0.4241 for package: intel-opencl-20.28.17293-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: intel-opencl-20.28.17293-1.el7.x86_64 (copr:copr.fedorainfracloud.org:jdanecki:intel-opencl)
           Requires: intel-igc-opencl = 1.0.4241
           Available: intel-igc-opencl-1.0.4944-1.el7.x86_64 (copr:copr.fedorainfracloud.org:jdanecki:intel-opencl)
               intel-igc-opencl = 1.0.4944-1.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[bash][atlas]:workdir >

I see that you updated the intel-igc RPM recently.

But that now means that I can not install intel-opencl. :frowning: Is this intentional, or was this just an oversight?

Cheers,
Attila

Yes, I’ve updated IGC to prepare newer Neo releases. In case of missing packages, please use packages from Source Forge mirror: https://sourceforge.net/projects/intel-compute-runtime, as older packages are being removed automatically.
Currently I’m preparing new Neo release 20.40.18075 with IGC 1.0.5176 and L0 1.0.13.

1 Like

Hi Jacek, if you are already a Fedora packager feel free to ping me and I will perform your package review to get the NEO driver into Fedora proper. Thanks for your work on this.

1 Like

Just tested it on Fedora 33, works great!
I am looking forward seeing this package in the main repo.
Thank you very much for the great work!

1 Like

Thanks @jdanecki really exciting.
I was just curious if anything out there supported OpenCL 3.0 yet and sure enough this already claims it does. Is there a dependency or something required for full 3.0 support? I’m seeing warnings about 2.2 in clinfo.

  Platform Name                                   Intel(R) OpenCL HD Graphics
Number of devices                                 1
  Device Name                                     Intel(R) UHD Graphics 620 [0x5917]
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 3.0 NEO 
  Driver Version                                  21.11.19310
  Device OpenCL C Version                         OpenCL C 3.0 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
......
        NOTE:   your OpenCL library declares to support OpenCL 3.0,
                but it seems to support up to OpenCL 2.2 only.
        NOTE:   your OpenCL library only supports OpenCL 2.2,
                but some installed platforms support OpenCL 3.0.
                Programs using 3.0 features may crash
                or behave unexpectedly

You need to update ocl-icd package, so it contains support for OpenCL 3.0, see Added OpenCL 3.0 support. · OCL-dev/ocl-icd@e9c19dc · GitHub