-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Allow [[sycl::work_group_size_hint]] to accept constant expr args #3785
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] Allow [[sycl::work_group_size_hint]] to accept constant expr args #3785
Conversation
This changes the arguments from taking simple integer values to instead accept arbitrary integer constant expression arguments. Additionally, it implements the logic to correctly handle merging attributes on redeclarations.
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!
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.
The clang-format failure seems like something is broken in CI: |
Pushing a merge commit to see if trigger CI again resolves the issue. |
Nope, same issue. Looks like CI is broken. |
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!
Could you try to merge |
Just pushed a merge commit, so let's see. Thanks for the speculative fix! |
That seems to have fixed it, thanks @bader! |
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.
Linux buildbots are offline and only one commit from this PR is not tested - d410157. I looked at this commit to check if it's safe to skip validation on Linux for this NFC patch and have a couple of comments regarding the refactoring.
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
This changes the arguments from taking simple integer values to instead
accept arbitrary integer constant expression arguments. Additionally,
it implements the logic to correctly handle merging attributes on
redeclarations.