- Activate oneapi via
setenv.bat
or any other way cmake -B build -S . -GNinja
cmake --build build --target run_example
.\build\run_example.exe
Execution device: Intel(R) Iris(R) Xe Graphics
Execution device driver_version: 31.0.101.5382
Read SPV and names
Size of SPV: 8984
Name of the kernel: kernel
Starting CL build...
Created program with IL!
Could not build program with IL:-11
Execution device: Intel(R) Iris(R) Xe Graphics
Execution device driver_version: 31.0.101.5382
Read SPV and names
Size of SPV: 8844
Name of the kernel: kernel
Starting CL build...
Created program with IL!
Created cl program!
Created kernel bundle!
Since ll is version 14, you need llvm 14'th version llvm-as
llvm-as.exe -o kernel.ir kernel.ll
<path to 2024.0 compiler>\llvm-spirv.exe -o kernel_2024_0.bc kernel.ir
<path to 2024.1 compiler>\llvm-spirv.exe -o kernel_2024_1.bc kernel.ir