llvm / llvm/offload-test-suite

[vulkan][KosmicKrisp] WaveIsFirstLane.test is producing incorrect results.

Open
#681 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

The DXC and Clang DXC results are both incorrect in the same way. This is a high likelyhood of a driver bug.

DXC results

Expected:
---
Name:            ExpectedOut
Format:          UInt32
Stride:          4
Data:            [ 1, 0, 1, 1, 1, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Got:
---
Name:            Out
Format:          UInt32
Stride:          4
Data:            [ 1, 0, 0, 0, 1, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Full Hex 64bit representation of Expected Buffer Values:
[ 0x1, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0 ]
Full Hex 64bit representation of Actual Buffer Values:
[ 0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0 ]

Clang Results

Comparison Rule: BufferExact
Expected:
---
Name:            ExpectedOut
Format:          UInt32
Stride:          4
Data:            [ 1, 0, 1, 1, 1, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Got:
---
Name:            Out
Format:          UInt32
Stride:          4
Data:            [ 1, 0, 0, 0, 1, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Full Hex 64bit representation of Expected Buffer Values:
[ 0x1, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0 ]
Full Hex 64bit representation of Actual Buffer Values:
[ 0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0 ]

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 the WaveIsFirstLane.test referenced in the issue and reproduce it through both the DXC and Clang DXC Vulkan paths. Compare the expected and actual lane results, then investigate whether the discrepancy is in the test or a driver; done means the incorrect result is explained and the appropriate test or driver issue is identified.

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
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.