llvm / llvm/offload-test-suite

[QC][Vulkan] Reversebits.64.test failing on QC

Open
#1,241 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18
Forks
39
Avg merge
2d 18h
Merged PRs (30d)
40

Description

First found: https://github.com/llvm/offload-test-suite/actions/runs/26541768484/job/78184645004?pr=1240

This seems to be an issue related to `shuffleVector`, since that is the main difference to the 32 bit version of the test.

```
2026-05-27T23:10:40.0252047Z c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe C:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\Feature\HLSLLib\reversebits.64.test C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp
2026-05-27T23:10:40.0254263Z # executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\Feature\HLSLLib\reversebits.64.test' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp'
2026-05-27T23:10:40.0255475Z # RUN: at line 84
2026-05-27T23:10:40.0257102Z c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\clang-dxc.exe -spirv -fspv-target-env=vulkan1.3 -fspv-extension=DXC --dxv-path=C:/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Fo C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp.o C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp/source.hlsl
2026-05-27T23:10:40.0260387Z # executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\clang-dxc.exe' -spirv -fspv-target-env=vulkan1.3 -fspv-extension=DXC --dxv-path=C:/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Fo 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp.o' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp/source.hlsl'
2026-05-27T23:10:40.0262063Z # RUN: at line 85
2026-05-27T23:10:40.0263283Z c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe -debug-layer C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp/pipeline.yaml C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp.o
2026-05-27T23:10:40.0265802Z # executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe' -debug-layer 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp/pipeline.yaml' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\reversebits.64.test.tmp.o'
2026-05-27T23:10:40.0267164Z # .---command stdout------------
2026-05-27T23:10:40.0267315Z # | Using Vulkan API
2026-05-27T23:10:40.0267447Z # | Command buffer created.
2026-05-27T23:10:40.0267588Z # | Compute Pipeline created.
2026-05-27T23:10:40.0267732Z # | Memory buffers created.
2026-05-27T23:10:40.0267869Z # | Executed copy command buffer.
2026-05-27T23:10:40.0268023Z # | Execute command buffer created.
2026-05-27T23:10:40.0268183Z # | Descriptors: { type = 7, count = 2 }
2026-05-27T23:10:40.0268349Z # | Descriptor pool created.
2026-05-27T23:10:40.0268486Z # | Num Descriptor sets: 1
2026-05-27T23:10:40.0268625Z # | Updating Descriptor [0] { 0, 0 }
2026-05-27T23:10:40.0268783Z # | Updating Descriptor [1] { 0, 1 }
2026-05-27T23:10:40.0268935Z # | WriteDescriptors: 2
2026-05-27T23:10:40.0269064Z # | Descriptor sets created.
2026-05-27T23:10:40.0269212Z # | Dispatched compute shader: { 1, 1, 1 }
2026-05-27T23:10:40.0269374Z # | Commands created.
2026-05-27T23:10:40.0269501Z # | Executed compute command buffer.
2026-05-27T23:10:40.0269657Z # | Compute pipeline created.
2026-05-27T23:10:40.0269794Z # | Cleanup complete.
2026-05-27T23:10:40.0270055Z # `-----------------------------
2026-05-27T23:10:40.0270200Z # .---command stderr------------
2026-05-27T23:10:40.0270344Z # | Test failed: Test1
2026-05-27T23:10:40.0270473Z # | Comparison Rule: BufferExact
2026-05-27T23:10:40.0270611Z # | Expected:
2026-05-27T23:10:40.0270712Z # | ---
2026-05-27T23:10:40.0270811Z # | Name: ExpectedOut
2026-05-27T23:10:40.0270955Z # | Format: UInt64
2026-05-27T23:10:40.0271080Z # | Stride: 32
2026-05-27T23:10:40.0271282Z # | Data: [ 18446462603027742720, 6148914691236517205, 14757226373981654220,
2026-05-27T23:10:40.0271586Z # | 17848844570815808640, 18446462603027742720, 6148914691236517205,
2026-05-27T23:10:40.0271876Z # | 14757226373981654220, 17848844570815808640, 18446462603027742720,
2026-05-27T23:10:40.0272168Z # | 6148914691236517205, 14757226373981654220, 17848844570815808640 ]
2026-05-27T23:10:40.0272449Z # | OutputProps:
2026-05-27T23:10:40.0272561Z # | Height: 0
2026-05-27T23:10:40.0272730Z # | Width: 0
2026-05-27T23:10:40.0272849Z # | Depth: 0
2026-05-27T23:10:40.0272961Z # | ...
2026-05-27T23:10:40.0273052Z # | Got:
2026-05-27T23:10:40.0273137Z # | ---
2026-05-27T23:10:40.0273231Z # | Name: Out
2026-05-27T23:10:40.0273350Z # | Format: UInt64
2026-05-27T23:10:40.0279430Z # | Stride: 32
2026-05-27T23:10:40.0279643Z # | Data: [ 281470681743360, 281470681743360, 281470681743360, 281470681743360,
2026-05-27T23:10:40.0279949Z # | 281470681743360, 281470681743360, 281470681743360, 281470681743360,
2026-05-27T23:10:40.0280222Z # | 281470681743360, 281470681743360, 14757226373981654220,
2026-05-27T23:10:40.0280427Z # | 17848844570815808640 ]
2026-05-27T23:10:40.0280584Z # | OutputProps:
2026-05-27T23:10:40.0280690Z # | Height: 0
2026-05-27T23:10:40.0280824Z # | Width: 0
2026-05-27T23:10:40.0280946Z # | Depth: 0
2026-05-27T23:10:40.0281060Z # | ...
2026-05-27T23:10:40.0281193Z # | Full Hex representation of Expected Buffer Values:
2026-05-27T23:10:40.0281896Z # | [ 0xffff0000ffff0000, 0x5555555555555555, 0xcccc33333333cccc, 0xf7b3d591e6a2c480, 0xffff0000ffff0000, 0x5555555555555555, 0xcccc33333333cccc, 0xf7b3d591e6a2c480, 0xffff0000ffff0000, 0x5555555555555555, 0xcccc33333333cccc, 0xf7b3d591e6a2c480 ]
2026-05-27T23:10:40.0282705Z # | Full Hex representation of Actual Buffer Values:
2026-05-27T23:10:40.0283284Z # | [ 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xffff00000000, 0xcccc33333333cccc, 0xf7b3d591e6a2c480 ]
2026-05-27T23:10:40.0283825Z # |
2026-05-27T23:10:40.0283920Z # `-----------------------------
2026-05-27T23:10:40.0284072Z # error: command failed with exit status: 1
2026-05-27T23:10:40.0284197Z
2026-05-27T23:10:40.0284236Z --
2026-05-27T23:10:40.0284294Z
2026-05-27T23:10:40.0284331Z ********************
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with OffloadTest/test/Feature/HLSLLib/reversebits.64.test and compare it with the 32-bit version, focusing on the reported shuffleVector difference. Run the test through clang-dxc and offloader using the Vulkan configuration shown in the failure log. Done means the test produces the listed expected UInt64 buffer values instead of the failing output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.