intel / compute-runtime

Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver
MIT License
1.1k stars 229 forks source link

Documentation/Clarification Regarding Level Zero interaction with compute-runtime #685

Closed pvelesko closed 9 months ago

pvelesko commented 9 months ago

not sure where to ask this - just wanted to get some clarification on how does level zero loader interact with compute-runtime? Specifically, why doesn't Level Zero loader state compute-runtime as a dependency nor provide flags for specifying the runtime install path?

eero-t commented 7 months ago

"compute-runtime" project provides backends both for OpenCL and Level-Zero, but names of packages for those backends are not named "compute-runtime" (package specs can mention it as source project though).

The dependencies go the other way round, because loader package cannot know which HW the host on which it is installed, will have, i.e. what backend would be relevant one. For more info on package deps, see: https://github.com/intel/compute-runtime/issues/470