-
Notifications
You must be signed in to change notification settings - Fork 801
[SYCL] Incorrect diagnostic for __spirv calls #6058
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
elizabethandrews
left a comment
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.
Small nit. LGTM otherwise
|
Sorry, @smanna12, I had another small piece of unneeded code that I removed too. Please re-review. |
smanna12
left a comment
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
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.
c143ad5
8bd1491 to
c143ad5
Compare
|
The force push was to fetch #6059 because tests were failing without it. |
|
@intel/llvm-gatekeepers, this is ready for a merge. |
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.