intel/opencl-intercept-layer

Local install for Linux

zjin-lcf opened this issue · 2 comments

Could you please add a section about how a user can install the tool without root access to the real ICD ?

Thanks

Thanks for reaching out! I will look into enhancing the installation instructions.

In the short term, here are two suggestions:

  1. My recommended solution is to build and install the intercept layer and cliloader into a directory where you have access, then to use it to selectively intercept your application. For example, I'll usually install into my home directory, and then I'll either add $HOME/bin to my path, or I'll just execute with ~/bin/cliloader ....

  2. Alternatively, the targeted usage method can be used without root access and provides a similar experience as the "local install". Ultimately this uses the same fundamental mechanisms as cliloader, except you are responsible for setting up the right environment variables instead of cliloader.

Give these a try and let me know if they work - thanks!

I've tried to improve these instructions, see #185.

Feel free to re-open this issue (or create a new one) if you have additional suggestions for improvement. Thanks!