Skip to content

[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

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

steffenlarsen
Copy link
Contributor

Fixes an issue where partial subscripts would fail to compile due to template errors.

Found through CTS testing.

Fixes an issue where partial subscripts would fail to compile due to
template errors.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner August 30, 2022 14:58
@AlexeySachkov
Copy link
Contributor

Found through CTS testing.

Do we need a micro unit-test for the change as well?

Copy link
Contributor

@AidanBeltonS AidanBeltonS left a comment

Choose a reason for hiding this comment

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

LGTM

steffenlarsen added a commit to steffenlarsen/llvm-test-suite that referenced this pull request Aug 31, 2022
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]>
@steffenlarsen
Copy link
Contributor Author

Found through CTS testing.

Do we need a micro unit-test for the change as well?

I have added a small reproducer test in intel/llvm-test-suite#1191.

@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1191

@steffenlarsen
Copy link
Contributor Author

@smaslov-intel - Friendly ping.

Copy link
Contributor

@smaslov-intel smaslov-intel left a 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?

@steffenlarsen
Copy link
Contributor Author

I assume there is already a test that this change makes to pass?

Yes, both in CTS and in intel/llvm-test-suite#1191.

@steffenlarsen steffenlarsen merged commit 22e3fc5 into intel:sycl Sep 2, 2022
steffenlarsen added a commit to intel/llvm-test-suite that referenced this pull request Sep 21, 2022
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]>
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…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]>
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.

4 participants