-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL] Enable only selected SPIR-V extensions for SPIR-V backend. #20489
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
[SYCL] Enable only selected SPIR-V extensions for SPIR-V backend. #20489
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@intel/llvm-gatekeepers Can we get this merged? Thanks! |
|
@maarquitos14 Seeing many postcommit fails when building E2E tests. Can you take a look? https://github.com/intel/llvm/actions/runs/18885080359/job/53898211124 If you can't fix quickly lets revert. |
| // compilation" error | ||
| // - handle --spirv-ext=+<extension> and --spirv-ext=-<extension> options | ||
|
|
||
| // Disable all the extensions by default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please update the comment to add why we are disabling all the SPIR-V backend extensions to give some additional context?
|
@maarquitos14 Reverted this change, please fix CI failures and make a new PR, thanks |
…tel#20489) SPIR-V backend supports some extensions that our driver doesn't support yet (e.g. SPV_KHR_float_controls2), resulting in errors. This patch stops enabling all the SPIR-V backend supported extensions, and instead enables only a list of selected extensions. The list contains the intersection of extensions enabled for llvm-spirv with the extensions supported by the SPIR-V backend.
SPIR-V backend supports some extensions that our driver doesn't support yet (e.g. SPV_KHR_float_controls2), resulting in errors. This patch stops enabling all the SPIR-V backend supported extensions, and instead enables only a list of selected extensions. The list contains the intersection of extensions enabled for llvm-spirv with the extensions supported by the SPIR-V backend.