llvm / llvm/offload-test-suite

Test `Feature/HLSLLib/mad.64.test` fails on Nvidia GTX 1070

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Test output

# .---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 SRV: { Size = 96, Register = t1, Space = 0 }
# | Creating SRV: { Size = 96, Register = t2, Space = 0 }
# | Creating SRV: { Size = 96, Register = t3, Space = 0 }
# | Creating SRV: { Size = 96, Register = t4, Space = 0 }
# | Creating SRV: { Size = 96, Register = t5, Space = 0 }
# | Creating UAV: { Size = 128, Register = u6, Space = 0, HasCounter = 0 }
# | Creating UAV: { Size = 128, Register = u7, Space = 0, HasCounter = 0 }
# |     EltSize = 8 NumElts = 12
# | SRV: HeapIdx = 0 EltSize = 8 NumElts = 12
# |     EltSize = 8 NumElts = 12
# | SRV: HeapIdx = 1 EltSize = 8 NumElts = 12
# |     EltSize = 8 NumElts = 12
# | SRV: HeapIdx = 2 EltSize = 8 NumElts = 12
# |     EltSize = 8 NumElts = 12
# | SRV: HeapIdx = 3 EltSize = 8 NumElts = 12
# |     EltSize = 8 NumElts = 12
# | SRV: HeapIdx = 4 EltSize = 8 NumElts = 12
# |     EltSize = 8 NumElts = 12
# | SRV: HeapIdx = 5 EltSize = 8 NumElts = 12
# |     EltSize = 32 NumElts = 4
# | UAV: HeapIdx = 6 EltSize = 32 NumElts = 4 HasCounter = 0
# |     EltSize = 32 NumElts = 4
# | UAV: HeapIdx = 7 EltSize = 32 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:            ExpectedOut0
# | Format:          Int64
# | Stride:          32
# | Data:            [ -9223372036854775807, 131072, 1, 0, 2, 9, 257, 255,
# |                    9223372036854775807, -9223372036854775807, 0, -1000,
# |                    -9223372036854775807, 131072, -9223372036854775808,
# |                    9223372036854775807 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Got:
# | ---
# | Name:            Out0
# | Format:          Int64
# | Stride:          32
# | Data:            [ -9223372036854775807, 4294967296, 131072, 4294967296,
# |                    1, 4294967296, 0, 4294967296, 2, 4294967296, 9, 4294967296,
# |                    -9223372036854775807, 131072, -9223372036854775808,
# |                    9223372036854775807 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x8000000000000001, 0x20000, 0x1, 0x0, 0x2, 0x9, 0x101, 0xff, 0x7fffffffffffffff, 0x8000000000000001, 0x0, 0xfffffffffffffc18, 0x8000000000000001, 0x20000, 0x8000000000000000, 0x7fffffffffffffff ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x8000000000000001, 0x100000000, 0x20000, 0x100000000, 0x1, 0x100000000, 0x0, 0x100000000, 0x2, 0x100000000, 0x9, 0x100000000, 0x8000000000000001, 0x20000, 0x8000000000000000, 0x7fffffffffffffff ]
# |
# | Test failed: Test1
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name:            ExpectedOut1
# | Format:          UInt64
# | Stride:          32
# | Data:            [ 0, 1, 5, 271, 9223372036854775807, 10, 110, 1, 250,
# |                    5100, 1, 0, 5, 271, 1, 0 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Got:
# | ---
# | Name:            Out1
# | Format:          UInt64
# | Stride:          32
# | Data:            [ 0, 4294967296, 1, 4294967296, 5, 4294967296, 271, 4294967296,
# |                    9223372036854775807, 4294967296, 10, 4294967296, 5,
# |                    271, 1, 0 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x0, 0x1, 0x5, 0x10f, 0x7fffffffffffffff, 0xa, 0x6e, 0x1, 0xfa, 0x13ec, 0x1, 0x0, 0x5, 0x10f, 0x1, 0x0 ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x0, 0x100000000, 0x1, 0x100000000, 0x5, 0x100000000, 0x10f, 0x100000000, 0x7fffffffffffffff, 0x100000000, 0xa, 0x100000000, 0x5, 0x10f, 0x1, 0x0 ]
# |
# `-----------------------------
# error: command failed with exit status: 1

--

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

Reproduce Feature/HLSLLib/mad.64.test on the NVIDIA GeForce GTX 1070 using the DirectX API and inspect its expected and actual Int64 and UInt64 buffers. Trace the test's HLSL library inputs and output layout; done means Test0 and Test1 produce the listed expected values without command failure.

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
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.