-
Notifications
You must be signed in to change notification settings - Fork 30
Level zero codegen #241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Level zero codegen #241
Conversation
@PokhodenkoSA @oleksandr-pavlyk I can get the C API to work, but I need help with getting Python to find the level zero loader library:
Ideally we should be packaging the Once these two changes are done, we should be good to go. |
Level-zero libraries and level-zero include headers must be made available to Python as conda package, if
|
5bf3db9
to
9c4eb76
Compare
The reason this works is that they include the headers almost verbatim inside oneDAL https://github.com/oneapi-src/oneDAL/blob/1e6f13f10d14a117e235aaf6217f3c4a65469d4a/cpp/daal/include/services/internal/sycl/level_zero_common.h. We need to know level zero types to create the function pointers as is done here: Is this the route we want to go? If we want level zero support on Windows, at this point there is no real alternatives as the headers are not available on Windows. |
Merging since CI passes and no objections :) |
The PR adds an optional feature to enable Level Zero program creation from SPIR-V in dpctl.
level-zero-dev
headers should be installed.