jay@jayp2:/opt/intel/oneapi$ ls
2025.2 ccl compiler debugger dnnl dpl ippcp mkl mpi pti support.txt tcm vtune
advisor common dal dev-utilities dpcpp-ct ipp licensing modulefiles-setup.sh oneapi-base-toolkit setvars.sh tbb umf
jay@jayp2:/opt/intel/oneapi$ find . -name "ze_api.h"
jay@jayp2:/opt/intel/oneapi$
level_zero seems to be missing from all the toolkits...
https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html
jay@jayp2:~/dpcpp/level-zero$ find . -name "ze_api.h"
./build/_CPack_Packages/Linux/DEB/level-zero-1.24.1-Linux/level-zero-devel/opt/intel/level_zero/include/level_zero/ze_api.h
./include/ze_api.h
I can find it in the level zero sources, and can build and install it, but it is not clear how to tell cmake to use it. Some online docs suggested defining L0_INCLUDE_DIR and L0_LIBRARY, as I've done here, but that didn't work. Any suggestions for a work-around?
cmake .. -DL0_INCLUDE_DIR=opt/intel/level_zero/include/level_zero -DL0_LIBRARY=/opt/intel/level_zero/lib