Skip to content

Conversation

@premanandrao
Copy link
Contributor

@premanandrao premanandrao commented Apr 26, 2022

When the reqd_sub_group_size attribute is applied on a
sycl kernel, we check that SYCL_EXTERNAL functions called
from such kernels also have the same sub_group_size. This
need not be enforced on __spirv intrinsics since they are
mapped to the equivalent SPIR-V operations.

@premanandrao premanandrao requested a review from a team as a code owner April 26, 2022 01:53
Copy link
Contributor

@elizabethandrews elizabethandrews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit. LGTM otherwise

smanna12
smanna12 previously approved these changes Apr 26, 2022
@premanandrao
Copy link
Contributor Author

Sorry, @smanna12, I had another small piece of unneeded code that I removed too. Please re-review.

smanna12
smanna12 previously approved these changes Apr 26, 2022
Copy link
Contributor

@smanna12 smanna12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

smanna12
smanna12 previously approved these changes Apr 26, 2022
When the reqd_sub_group_size attribute is applied on a
sycl kernel, we check that SYCL_EXTERNAL functions called
from such kernels also have the same sub_group_size. This
need not be enforced on __spirv intrinsics since they are
mapped tp the equivalent SPIR-V operations.
@premanandrao
Copy link
Contributor Author

The force push was to fetch #6059 because tests were failing without it.
There were no further changes made for this PR.

@premanandrao
Copy link
Contributor Author

@intel/llvm-gatekeepers, this is ready for a merge.

@againull againull merged commit 1df7b59 into sycl Apr 27, 2022
@premanandrao premanandrao deleted the rsgs_spirv branch April 27, 2022 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants