-
Notifications
You must be signed in to change notification settings - Fork 788
[SYCL] Disable clang pedantic diagnostics in header/footer #15171
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
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, this is ready for merge. The test failures seem unrelated to my changes. |
This looks weird and I'm not aware of any issues with gen12 runners. I'm re-running the failed job. |
Thanks! Looks finished? |
When -Wreserved-identifer or -Wold-style-cast is enabled, some of the constructs used in integration headers and footers for device_globals and host_pipes trigger a diagnostic. This change adds a pragma to the generated files that suppress the diagnostic prior to the construct and reenabled the diagnostic after.
When -Wreserved-identifer or -Wold-style-cast is enabled, some of the constructs used in
integration headers and footers for device_globals and host_pipes trigger a diagnostic.
This change adds a pragma to the generated files that suppress the diagnostic prior to
the construct and reenabled the diagnostic after.