-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Fix template argument propagation in AccessorSubscript #6669
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] Fix template argument propagation in AccessorSubscript #6669
Conversation
Fixes an issue where partial subscripts would fail to compile due to template errors. Signed-off-by: Larsen, Steffen <[email protected]>
Do we need a micro unit-test for the change as well? |
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
Adds a regression test checking that the subscript operator on a 3-dimensional local_accessor compiles and runs as expected. This is related to intel/llvm#6669 Signed-off-by: Larsen, Steffen <[email protected]>
I have added a small reproducer test in intel/llvm-test-suite#1191. |
/verify with intel/llvm-test-suite#1191 |
@smaslov-intel - Friendly ping. |
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.
I assume there is already a test that this change makes to pass?
Yes, both in CTS and in intel/llvm-test-suite#1191. |
Adds a regression test checking that the subscript operator on a 3-dimensional local_accessor compiles and runs as expected. This is related to intel/llvm#6669 Signed-off-by: Larsen, Steffen <[email protected]>
…m-test-suite#1191) Adds a regression test checking that the subscript operator on a 3-dimensional local_accessor compiles and runs as expected. This is related to intel#6669 Signed-off-by: Larsen, Steffen <[email protected]>
Fixes an issue where partial subscripts would fail to compile due to template errors.
Found through CTS testing.