Open nec4 opened 2 months ago
Sorry for the late reply, but I didn't got a notification for a new issue.
It seems that on your machine, the library files are not installed to ${CMAKE_INSTALL_PREFIX}/lib
but to ${CMAKE_INSTALL_PREFIX}/lib64
. This directory is automatically determined by GNUInstallDirs's LIBDIR
. Unfortunately, the CMake documentation isn't really helpful on understanding when lib
or lib64
is used (https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html).
Could you try setting
export LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib64:${LD_LIBRARY_PATH}
export PYTHONPATH=${CMAKE_INSTALL_PREFIX}/lib64:${PYTHONPATH}
I added the lib64
to the README file (820a253).
That's a though one. I've also tried to get Level Zero working on my local machine with an Intel iGPU, but also had major problems. It currently works and is tested on Intel's Tiber Developer Cloud, where everything is preinstalled.
I've now added a Findlevel_zero.cmake
file (copied from the Developer Cloud) (a0285eb). After adding our cmake directory to the CMAKE_MODULE_PATH
and setting export ZES_ENABLE_SYSMAN=1
, I was able to use our library on my iGPU. However, the output is rather limited because most samples aren't supported by level zero for my specific iGPU.
I just merged a rather large overhaul onto main, maybe you can check this out too. If this doesn't solve your issues, feel free to contact us again.
No worries - thanks for the response. I will give these suggestions a shot and experiment a little more.
@nec4 Have you managed to get it working with these fixes?
Hello @vancraar - unfortunately, I have been a bit busy with some other tasks. I am solving already some other issues related to the Intel GPU currently. However, I will try to test this soon and get back to you.
Thanks for your help.
Hello. The tools look very interesting but I am having trouble building them properly for a user-level, non-root installation:
The CPP CPU example compiles and runs as expected, but the python bindings don't work as expected:
And just as well the Intel GPU support is disabled. If it helps, I am using OneAPI 2024.2 and Level-Zero v1.17.44, and GCC 13.2.0. The detected python distribution also has
pybind11=2.13.6
installed but it is seemingly not found bycmake
. Runningccmake .
reveals that the following are not found: