Skip to content

Tests test\WaveOps\WaveReadLaneAt.32.test and test\WaveOps\WaveReadLaneAt.16.test fail under Metal #351

@bob80905

Description

@bob80905

Both of these tests fail in the Metal configuration. They have all 0 results, rather than expected results.
Logs:

******************** TEST 'OffloadTest-clang-mtl :: WaveOps/WaveReadLaneAt.32.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Signed DxilContainer written to "/var/folders/zv/v734td6n3_3fl4qmc2hcdkcc0000gn/T/lit-tmp-5zk13nlq/source-112ea5.dxo"
Validation succeeded.Using Metal API

--
Command Output (stderr):
--
/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/split-file /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/OffloadTest/test/WaveOps/WaveReadLaneAt.32.test /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp # RUN: at line 176
+ /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/split-file /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/OffloadTest/test/WaveOps/WaveReadLaneAt.32.test /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp
/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/clang-dxc -metal --dxv-path=/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Gis -Fo /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp.o /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp/source.hlsl # RUN: at line 177
+ /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/clang-dxc -metal --dxv-path=/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Gis -Fo /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp.o /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp/source.hlsl
warning: overriding currently unsupported rounding mode on this target [-Wunsupported-floating-point-opt]
warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
2 warnings generated.
/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/offloader /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp/pipeline.yaml /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp.o # RUN: at line 178
+ /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/offloader /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp/pipeline.yaml /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.32.test.tmp.o
Test failed: TestInt
Comparison Rule: BufferExact
Expected:
---
Name:            ExpectedOutInt
Format:          Int32
Stride:          16
Data:            [ 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 0, 0, 4, 5, 6, 7, 4, 5, 
                   6, 7, 4, 5, 0, 0, 8, 9, 10, 11, 8, 9, 10, 11, 8, 9, 
                   0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Got:
---
Name:            OutInt
Format:          Int32
Stride:          16
Data:            [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
                   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Full Hex 64bit representation of Expected Buffer Values:
[ 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x0, 0x0, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x0, 0x0, 0x8, 0x9, 0xa, 0xb, 0x8, 0x9, 0xa, 0xb, 0x8, 0x9, 0x0, 0x0 ]
Full Hex 64bit representation of Actual Buffer Values:
[ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]

Test failed: TestUInt
Comparison Rule: BufferExact
Expected:
---
Name:            ExpectedOutUInt
Format:          UInt32
Stride:          16
Data:            [ 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 0, 0, 4, 5, 6, 7, 4, 5, 
                   6, 7, 4, 5, 0, 0, 8, 9, 10, 11, 8, 9, 10, 11, 8, 9, 
                   0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Got:
---
Name:            OutUInt
Format:          UInt32
Stride:          16
Data:            [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
                   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Full Hex 64bit representation of Expected Buffer Values:
[ 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x0, 0x0, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x0, 0x0, 0x8, 0x9, 0xa, 0xb, 0x8, 0x9, 0xa, 0xb, 0x8, 0x9, 0x0, 0x0 ]
Full Hex 64bit representation of Actual Buffer Values:
[ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]

Test failed: TestFloat
Comparison Rule: BufferExact
Expected:
---
Name:            ExpectedOutFloat
Format:          Float32
Stride:          16
Data:            [ 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 0, 0, 4, 5, 6, 7, 4, 5, 
                   6, 7, 4, 5, 0, 0, 8, 9, 10, 11, 8, 9, 10, 11, 8, 9, 
                   0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Got:
---
Name:            OutFloat
Format:          Float32
Stride:          16
Data:            [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
                   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Full Hex 64bit representation of Expected Buffer Values:
[ 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x0, 0x0, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x0, 0x0, 0x8, 0x9, 0x10, 0x11, 0x8, 0x9, 0x10, 0x11, 0x8, 0x9, 0x0, 0x0 ]
Full Hex 64bit representation of Actual Buffer Values:
[ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]

Test failed: TestEdgeFloat
Comparison Rule: BufferExact
Expected:
---
Name:            ExpectedOutEdgeFloat
Format:          Float32
Stride:          4
Data:            [ inf, -inf, nan, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Got:
---
Name:            OutEdgeFloat
Format:          Float32
Stride:          4
Data:            [ 0, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Full Hex 64bit representation of Expected Buffer Values:
[ 0xinf, 0x-inf, 0xnan, 0x0 ]
Full Hex 64bit representation of Actual Buffer Values:
[ 0x0, 0x0, 0x0, 0x0 ]


--

********************
FAIL: OffloadTest-clang-mtl :: WaveOps/WaveReadLaneAt.16.test (182 of 184)
******************** TEST 'OffloadTest-clang-mtl :: WaveOps/WaveReadLaneAt.16.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Signed DxilContainer written to "/var/folders/zv/v734td6n3_3fl4qmc2hcdkcc0000gn/T/lit-tmp-5zk13nlq/source-9108d7.dxo"
Validation succeeded.Using Metal API

--
Command Output (stderr):
--
/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/split-file /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/OffloadTest/test/WaveOps/WaveReadLaneAt.16.test /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp # RUN: at line 141
+ /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/split-file /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/OffloadTest/test/WaveOps/WaveReadLaneAt.16.test /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp
/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/clang-dxc -metal --dxv-path=/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -enable-16bit-types -T cs_6_5 -Fo /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp.o /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp/source.hlsl # RUN: at line 142
+ /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/clang-dxc -metal --dxv-path=/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -enable-16bit-types -T cs_6_5 -Fo /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp.o /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp/source.hlsl
/Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/offloader /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp/pipeline.yaml /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp.o # RUN: at line 143
+ /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/bin/offloader /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp/pipeline.yaml /Users/cbieneman/actions-runner/_work/offload-test-suite/offload-test-suite/llvm-project/build/tools/OffloadTest/test/clang-mtl/WaveOps/Output/WaveReadLaneAt.16.test.tmp.o
Test failed: TestInt
Comparison Rule: BufferExact
Expected:
---
Name:            ExpectedOutInt
Format:          Int16
Stride:          8
Data:            [ 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 0, 0, 4, 5, 6, 7, 4, 5, 
                   6, 7, 4, 5, 0, 0, 8, 9, 10, 11, 8, 9, 10, 11, 8, 9, 
                   0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Got:
---
Name:            OutInt
Format:          Int16
Stride:          8
Data:            [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
                   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
OutputProps:
  Height:          0
  Width:           0
  Depth:           0
...
Full Hex 64bit representation of Expected Buffer Values:
[ 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x2, 0x3, 0x0, 0x1, 0x0, 0x0, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x6, 0x7, 0x4, 0x5, 0x0, 0x0, 0x8, 0x9, 0xa, 0xb, 0x8, 0x9, 0xa, 0xb, 0x8, 0x9, 0x0, 0x0 ]
Full Hex 64bit representation of Actual Buffer Values:
[ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]


--

********************
PASS: OffloadTest-clang-mtl :: WaveOps/WaveReadLaneAt.index.test (183 of 184)
PASS: OffloadTest-clang-mtl :: WaveOps/WaveReadLaneAt.udt.test (184 of 184)
********************
Failed Tests (2):
  OffloadTest-clang-mtl :: WaveOps/WaveReadLaneAt.16.test
  OffloadTest-clang-mtl :: WaveOps/WaveReadLaneAt.32.test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions