oneapi-src / level-zero

oneAPI Level Zero Specification Headers and Loader
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
208 stars 90 forks source link

Package level-zero on the conda-forge distribution #98

Open ogrisel opened 1 year ago

ogrisel commented 1 year ago

At the moment it is not possible to install dpctl, dpnp and/or numba-dpex from conda-forge with Intel GPU support because level-zero has not been packaged for that distribution.

Would you be interested in contributing a build recipe to conda-forge under a report such as:

Here is the documentation on the procedure to submit a new build recipe (a.k.a. feedstock) on the conda-forge continuous integration platform:

ogrisel commented 1 year ago

Note, there is a community supported build of intel-compute-runtime to get GPU support via the OpenCL runtime at:

However the last few releases have failed builds and nobody tried to maintain them.

I will open a dedicated issue for this.

eero-t commented 1 year ago

Compute runtime is a bit particular about its dependencies. E.g. different LLVM versions have different level of support from it, with LLVM v13 basically not working, and v11 and v14 being best supported, and everything else in compute stack needing to be built with the same LLVM version (due to LLVM breaking its internal ABI between versions).

It may be easier to base conda support for already existing major distro packages. Both Debian/Ubuntu and Fedora provide now L0 support (see #73), in case one does not want to use Intel driver repositories.