Skip to content

Added WaveOps tests for QuadReadAcrossDiagonal#1015

Open
kcloudy0717 wants to merge 3 commits intollvm:mainfrom
kcloudy0717:kcloudy0717/QuadReadAcrossDiagonal
Open

Added WaveOps tests for QuadReadAcrossDiagonal#1015
kcloudy0717 wants to merge 3 commits intollvm:mainfrom
kcloudy0717:kcloudy0717/QuadReadAcrossDiagonal

Conversation

@kcloudy0717
Copy link
Copy Markdown
Contributor

PR for QuadReadAcrossDiagonal tests, resolves #881.

Note: After following some conversation in other PRs, I added convergence suffix to QuadReadAcross* control flow tests in the PR as well.

@kcloudy0717 kcloudy0717 changed the title Kcloudy0717/quad read across diagonal Added WaveOps tests for QuadReadAcrossDiagonal Mar 25, 2026
@kcloudy0717
Copy link
Copy Markdown
Contributor Author

Pinging @bob80905 and @farzonl for review.

@kcloudy0717 kcloudy0717 marked this pull request as ready for review March 25, 2026 06:33
@kcloudy0717 kcloudy0717 force-pushed the kcloudy0717/QuadReadAcrossDiagonal branch from b098603 to 669b3bd Compare March 25, 2026 14:36
Copy link
Copy Markdown
Contributor

@bob80905 bob80905 left a comment

Choose a reason for hiding this comment

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

This is great, thanks.
You might consider at some point updating issue #986
so that it mentions it's DXC specific, if the failure is not found on clang also.
Your XFAIL condition is specific to DXC, so that edit to the issue would be good, or maybe remove the DXC condition from the XFAIL if it isn't necessary. I know it's hard to tell right now with the implementation in clang not ready yet.

@kcloudy0717
Copy link
Copy Markdown
Contributor Author

This is great, thanks. You might consider at some point updating issue #986 so that it mentions it's DXC specific, if the failure is not found on clang also. Your XFAIL condition is specific to DXC, so that edit to the issue would be good, or maybe remove the DXC condition from the XFAIL if it isn't necessary. I know it's hard to tell right now with the implementation in clang not ready yet.

Sounds good, once the PR for QuadReadAcrossY is merged to main, I'll open up the PR for QuadReadAcrossDiagonal intrinsic support.

@bob80905
Copy link
Copy Markdown
Contributor

This is great, thanks. You might consider at some point updating issue #986 so that it mentions it's DXC specific, if the failure is not found on clang also. Your XFAIL condition is specific to DXC, so that edit to the issue would be good, or maybe remove the DXC condition from the XFAIL if it isn't necessary. I know it's hard to tell right now with the implementation in clang not ready yet.

Sounds good, once the PR for QuadReadAcrossY is merged to main, I'll open up the PR for QuadReadAcrossDiagonal intrinsic support.

Also on the topic of QuadReadAcrossY, the implementation should be in now, so if you'd like, please open a PR to remove the XFAIL for Clang on those tests since it's now supported 🚀

@kcloudy0717 kcloudy0717 force-pushed the kcloudy0717/QuadReadAcrossDiagonal branch from 669b3bd to 09885a6 Compare March 26, 2026 05:06
@kcloudy0717
Copy link
Copy Markdown
Contributor Author

This is great, thanks. You might consider at some point updating issue #986 so that it mentions it's DXC specific, if the failure is not found on clang also. Your XFAIL condition is specific to DXC, so that edit to the issue would be good, or maybe remove the DXC condition from the XFAIL if it isn't necessary. I know it's hard to tell right now with the implementation in clang not ready yet.

I've updated the issue to include DXC as part of the title. AFAIK, this does only trigger on DXC, since previous PRs for QuadReadAcross[X|Y] also have the same issue, so I did update the title for include diagonal as well.

Looking at the checks, it looks like failing test is unrelated to this PR, so this PR is good to go for me. If we want to get another pair of eyes for review then merge, that would be appreciated. I'm working on some other intrinsic support in the meantime.

@kcloudy0717 kcloudy0717 force-pushed the kcloudy0717/QuadReadAcrossDiagonal branch from 09885a6 to b6aeb5d Compare March 31, 2026 16:41
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.

Add test for QuadReadAcrossDiagonal

2 participants