llvm / llvm/offload-test-suite
[NV] `PartiallyMappedResources.test` outputting all 0s
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 18
- Forks
- 39
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 40
Description
In test/Feature/HLSLLib/PartiallyMappedResources.test, the NVIDIA machine is outputting all 0s on DirectX (Vulkan is unimplemented). This is reproducing on both Clang and DXC.
It seems the NVIDIA driver was updated recently, so that might have something to do with this new failure.
https://github.com/llvm/offload-test-suite/actions/runs/29121579364/job/86459965079#step:13:251
# .---command stderr------------
# | Test failed: Test
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name: ExpectedOut
# | Format: Int32
# | Stride: 4
# | Data: [ 9001, 9003, 9003, 9003 ]
# | OutputProps:
# | Height: 0
# | Width: 0
# | Depth: 0
# | ...
# | Got:
# | ---
# | Name: Out
# | Format: Int32
# | Stride: 4
# | Data: [ 0, 0, 0, 0 ]
# | OutputProps:
# | Height: 0
# | Width: 0
# | Depth: 0
# | ...
# | Full Hex representation of Expected Buffer Values:
# | [ 0x2329, 0x232b, 0x232b, 0x232b ]
# | Full Hex representation of Actual Buffer Values:
# | [ 0x0, 0x0, 0x0, 0x0 ]
# |
# | Test failed: TestCAFM
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name: ExpectedCAFM
# | Format: Bool
# | Stride: 4
# | Data: [ 1, 0, 0, 0 ]
# | OutputProps:
# | Height: 0
# | Width: 0
# | Depth: 0
# | ...
# | Got:
# | ---
# | Name: CAFM
# | Format: Bool
# | Stride: 4
# | Data: [ 0, 0, 0, 0 ]
# | OutputProps:
# | Height: 0
# | Width: 0
# | Depth: 0
# | ...
# | Full Hex representation of Expected Buffer Values:
# | [ 0x1, 0x0, 0x0, 0x0 ]
# | Full Hex representation of Actual Buffer Values:
# | [ 0x0, 0x0, 0x0, 0x0 ]
# |
# `-----------------------------
# error: command failed with exit status: 1
GPU: NVIDIA GeForce RTX 5070
Driver: 610.74
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with test/Feature/HLSLLib/PartiallyMappedResources.test and the linked GitHub Actions failure. Reproduce the DirectX case on the NVIDIA GeForce RTX 5070 with Clang and DXC, comparing the expected values with the all-zero output; Vulkan is unimplemented. Done means identifying whether the driver update caused the regression and resolving or documenting the failing test.
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
- Needs clarification
- Newbie friendliness
- 35/100