Skip to content

Update WaveActiveBallot.Wave32.test and WaveActiveBallot.Wave64.test - #697

Merged
tcorringham merged 1 commit into
llvm:mainfrom
tcorringham:active-ballot
Mar 10, 2026
Merged

tcorringham merged 1 commit into
llvm:mainfrom
tcorringham:active-ballot

Conversation

@tcorringham

@tcorringham tcorringham commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

The Output buffer stride for WaveActiveBallot.Wave32.test and WaveActiveBallot.Wave64.test was set to 4, but the buffer holds uint4 elements so requires a stride of 16 (4 * 4).
With the amended stride these now pass on AMD DXIL so the XFAIL has been removed.

Fixes #688

@@ -1,59 +1,56 @@
#--- source.hlsl
RWStructuredBuffer<uint4> Out : register(u1);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Github diff isn't great here. I think you are removing CRLF from this file but just want you to confirm.

I'm running your patch through sed and thats what seems to be going on.
curl -L https://patch-diff.githubusercontent.com/raw/llvm/offload-test-suite/pull/697.patch | sed -n 'l'

-# RUN: %offloader %t/pipeline.yaml %t.o\r$
+# RUN: %offloader %t/pipeline.yaml %t.o$

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Related: #741

@farzonl farzonl added the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Feb 13, 2026

@farzonl farzonl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You will need to force push or rebase to kick off the amd runner. as this pr didn't have the test-all label.

PR it self LGTM.

The Output buffer stride for WaveActiveBallot.Wave32.test and
WaveActiveBallot.Wave64.test was set to 4, but the buffer holds
uint4 elements so requires a stride of 16 (4 * 4).
With the amended stride these now pass on AMD DXIL so the XFAIL
has been removed.
@tcorringham
tcorringham merged commit cb244b8 into llvm:main Mar 10, 2026
14 of 23 checks passed
@tcorringham
tcorringham deleted the active-ballot branch March 10, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-all When applied to a PR this will opt-in to additional pre-merge test configurations..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AMD][DirectX] WaveOps/WaveActiveBallot.Wave64.test and WaveOps/WaveActiveBallot.Wave32.test fail on AMD

3 participants