Description
Hello,
I have an i7-11700K system with a rocketlake processor. I'm running Ubuntu 24.04.2 LTS x86_64 with kernel 6.8.0-60-generic. I'd like to try out oneAPI with that CPU's iGPU with common projects like llamacpp before thinking about investing in something like an ARC PRO B60 for more serious work. I followed the following steps to install the oneAPI base toolkit:
$ sudo apt-get install intel-opencl-icd
$ sudo clinfo -l
Platform #0: NVIDIA CUDA
`-- Device #0: NVIDIA GeForce RTX 3090
Platform #1: Intel(R) OpenCL Graphics
`-- Device #0: Intel(R) UHD Graphics 750
$ sudo usermod -aG render <username>
$ sudo usermod -aG video <username>
Followed by these steps from [1]:
$ sudo apt update
$ sudo apt install -y gpg-agent wget # -> already installed, not needed
$ wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
$ echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
$ sudo apt update
$ sudo apt install intel-oneapi-base-toolkit
# -> compiled a bunch of drivers (socperf sep pax vtsspp socwatch) as well as added a sep5.service
However, running:
$ source /opt/intel/oneapi/setvars.sh
$ sycl-ls
shows:
[opencl:cpu][opencl:0] Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz OpenCL 3.0 (Build 0) [2025.19.4.0.18_160000.xmain-hotfix]
[opencl:gpu][opencl:1] Intel(R) OpenCL Graphics, Intel(R) UHD Graphics 750 OpenCL 3.0 NEO [23.43.027642]
Where there is no [level_zero:gpu] entry for the iGPU as [2] suggests should be there:
When targeting an intel GPU, the user should expect one or more devices among the available SYCL devices. Please make sure that at least one GPU is present via sycl-ls, for instance [level_zero:gpu] in the sample output below:
[opencl:acc][opencl:0] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2 [2023.16.10.0.17_160000]
[opencl:cpu][opencl:1] Intel(R) OpenCL, 13th Gen Intel(R) Core(TM) i7-13700K OpenCL 3.0 (Build 0) [2023.16.10.0.17_160000]
[opencl:gpu][opencl:2] Intel(R) OpenCL Graphics, Intel(R) Arc(TM) A770 Graphics OpenCL 3.0 NEO [23.30.26918.50]
[level_zero:gpu][level_zero:0] Intel(R) Level-Zero, Intel(R) Arc(TM) A770 Graphics 1.3 [1.3.26918]
Also attached is a log from installing the intel-oneapi-base-toolkit package [3] and the output of SYCL_UR_TRACE=2 strace -o output.log sycl-ls
at [4].
Are there additional steps required to get the [level_zero:gpu] device to show up? My understanding is the 11th gen rocketlake iGPUs are currently supported.
[1] https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?packages=oneapi-toolkit&oneapi-toolkit-os=linux&oneapi-lin=apt
[2] https://github.com/ggml-org/llama.cpp/blob/0d3984424f2973c49c4bcabe4cc0153b4f90c601/docs/backend/SYCL.md
[3] https://pastebin.com/fay5X3cW
[4] https://pastebin.com/L2akg2Tv