llvm / llvm/offload-test-suite
Test `Feature/HLSLLib/asuint.64.test` fails on Nvidia GTX 1070
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 18
- Forks
- 39
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 40
Description
## Diff
Things start to diverge around the last two hex numbers in the buffer
```diff
- # | [ 0x0, 0x0, 0x147ae148, 0x9fbe76c9, 0x0, 0x9999999a, 0x9999999a, 0x66666666, 0x33333333, 0xa0b5ed8d, 0xeb1c432d, 0x9fbe76c9, 0x0, 0x0, 0x20000000, 0xa0000000 ]
+ # | [ 0x0, 0x0, 0x147ae148, 0x9fbe76c9, 0x0, 0x9999999a, 0x9999999a, 0x66666666, 0x33333333, 0xa0b5ed8d, 0xeb1c432d, 0x9fbe76c9, 0x0, 0x0, 0x147ae148, 0x9fbe76c9 ]
```
## Test output
```yml
# .---command stdout------------
# | Using DirectX API
# | Configuring execution on device: NVIDIA GeForce GTX 1070
# | RootSignature created.
# | Descriptor heap created.
# | PSO created.
# | Command structures created.
# | Creating SRV: { Size = 96, Register = t0, Space = 0 }
# | Creating UAV: { Size = 64, Register = u1, Space = 0, HasCounter = 0 }
# | Creating UAV: { Size = 64, Register = u2, Space = 0, HasCounter = 0 }
# | EltSize = 32 NumElts = 3
# | SRV: HeapIdx = 0 EltSize = 32 NumElts = 3
# | EltSize = 16 NumElts = 4
# | UAV: HeapIdx = 1 EltSize = 16 NumElts = 4 HasCounter = 0
# | EltSize = 16 NumElts = 4
# | UAV: HeapIdx = 2 EltSize = 16 NumElts = 4 HasCounter = 0
# | Buffers created.
# | Event prepared.
# | Compute command list created.
# | Compute commands executed.
# | Read data back.
# `-----------------------------
# .---command stderr------------
# | Test failed: Test0
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name: ExpectedLows
# | Format: UInt32
# | Stride: 16
# | Data: [ 0, 0, 343597384, 2680059593, 0, 2576980378, 2576980378,
# | 1717986918, 858993459, 2696277389, 3944497965, 2680059593,
# | 0, 0, 536870912, 2684354560 ]
# | OutputProps:
# | Height: 0
# | Width: 0
# | Depth: 0
# | ...
# | Got:
# | ---
# | Name: Lows
# | Format: UInt32
# | Stride: 16
# | Data: [ 0, 0, 343597384, 2680059593, 0, 2576980378, 2576980378,
# | 1717986918, 858993459, 2696277389, 3944497965, 2680059593,
# | 0, 0, 343597384, 2680059593 ]
# | OutputProps:
# | Height: 0
# | Width: 0
# | Depth: 0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x0, 0x0, 0x147ae148, 0x9fbe76c9, 0x0, 0x9999999a, 0x9999999a, 0x66666666, 0x33333333, 0xa0b5ed8d, 0xeb1c432d, 0x9fbe76c9, 0x0, 0x0, 0x20000000, 0xa0000000 ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x0, 0x0, 0x147ae148, 0x9fbe76c9, 0x0, 0x9999999a, 0x9999999a, 0x66666666, 0x33333333, 0xa0b5ed8d, 0xeb1c432d, 0x9fbe76c9, 0x0, 0x0, 0x147ae148, 0x9fbe76c9 ]
# |
# `-----------------------------
# error: command failed with exit status: 1
--
```
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 by running Feature/HLSLLib/asuint.64.test on the NVIDIA GeForce GTX 1070 configuration and compare the expected and actual buffer values shown in the report. Inspect the test and its execution path to determine why the final values diverge, then verify the failure is resolved without regressing the test elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100