Skip to content

Conversation

fixes llvm#706

With the following PRs now merged
- llvm/llvm-project#172384
- llvm/llvm-project#175809
- llvm/llvm-project#175245
- llvm/llvm-project#175633

We have a working base to test booleans on both DXC and Clang.
@farzonl
Copy link
Member Author

farzonl commented Feb 3, 2026

Investigate Warp behavior

# .---command stdout------------
# | Using DirectX API
# | Configuring execution on device: Microsoft Basic Render Driver
# | RootSignature created.
# | Descriptor heap created.
# | Command structures created.
# | Event prepared.
# | Creating UAV: { Size = 24, Register = u0, Space = 0, HasCounter = 0 }
# | Creating UAV: { Size = 24, Register = u1, Space = 0, HasCounter = 0 }
# | Creating UAV: { Size = 24, Register = u2, Space = 0, HasCounter = 0 }
# | Creating UAV: { Size = 24, Register = u3, Space = 0, HasCounter = 0 }
# | Creating UAV: { Size = 24, Register = u4, Space = 0, HasCounter = 0 }
# |     EltSize = 4 NumElts = 6
# | UAV: HeapIdx = 0 EltSize = 4 NumElts = 6 HasCounter = 0
# |     EltSize = 4 NumElts = 6
# | UAV: HeapIdx = 1 EltSize = 4 NumElts = 6 HasCounter = 0
# |     EltSize = 4 NumElts = 6
# | UAV: HeapIdx = 2 EltSize = 4 NumElts = 6 HasCounter = 0
# |     EltSize = 4 NumElts = 6
# | UAV: HeapIdx = 3 EltSize = 4 NumElts = 6 HasCounter = 0
# |     EltSize = 4 NumElts = 6
# | UAV: HeapIdx = 4 EltSize = 4 NumElts = 6 HasCounter = 0
# | Buffers created.
# | PSO created.
# | Compute command list created.
# | Compute commands executed.
# | Read data back.
# `-----------------------------
# .---command stderr------------
# | Test failed: AndTrueFalseOut
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name:            AndTrueFalseExpectedOut
# | Format:          Int32
# | Data:            [ 0, 0, 0, 0, 0, 0 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Got:
# | ---
# | Name:            AndTrueFalseOut
# | Format:          Int32
# | Data:            [ 1, 1, 1, 1, 1, 1 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x1, 0x1, 0x1, 0x1, 0x1, 0x1 ]
# | 
# | Test failed: AndTrueMixOut
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name:            AndTrueMixExpectedOut
# | Format:          Int32
# | Data:            [ 0, 0, 0, 1, 1, 1 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Got:
# | ---
# | Name:            AndTrueMixOut
# | Format:          Int32
# | Data:            [ 1, 1, 1, 1, 1, 1 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x0, 0x0, 0x0, 0x1, 0x1, 0x1 ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x1, 0x1, 0x1, 0x1, 0x1, 0x1 ]
# | 
# | Test failed: AndTrueMix2Out
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name:            AndTrueMix2ExpectedOut
# | Format:          Int32
# | Data:            [ 1, 1, 1, 0, 0, 0 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Got:
# | ---
# | Name:            AndTrueMix2Out
# | Format:          Int32
# | Data:            [ 1, 1, 1, 1, 1, 1 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x1, 0x1, 0x1, 0x0, 0x0, 0x0 ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x1, 0x1, 0x1, 0x1, 0x1, 0x1 ]
# | 
# `-----------------------------
# error: command failed with exit status: 1

--

@farzonl farzonl added the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-all When applied to a PR this will opt-in to additional pre-merge test configurations..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Matrix] Add bool tests for matrix logical operators

1 participant