llvm / llvm/offload-test-suite

Crash on Warp-arm64 for int64 wave active sum test

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

Nobody has claimed this yet.

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

Description

Running the waveactivesum test for int64 on warp and arm64 specifically will cause what seems to be an AV. There is no helpful output as to what caused a crash, though I believe the 0xc0000005 exit code is commonly seen with AVs.
The output is below:

```
******************** TEST 'OffloadTest-warp-d3d12 :: WaveOps/WaveActiveSum.int64.test' FAILED ********************
Exit Code: 3221225477

Command Output (stdout):
--
# RUN: at line 331
c:\users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\WaveOps\WaveActiveSum.int64.test C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp
# executed command: 'c:\users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe' 'C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\WaveOps\WaveActiveSum.int64.test' 'C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp'
# RUN: at line 332
"C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\DXC\build\bin\dxc.exe" -T cs_6_5 -Fo C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp.o C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp/source.hlsl
# executed command: 'C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\DXC\build\bin\dxc.exe' -T cs_6_5 -Fo 'C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp.o' 'C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp/source.hlsl'
# RUN: at line 333 has no command after substitutions
# RUN: at line 334
c:\users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe -warp C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp/pipeline.yaml C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp.o
# executed command: 'c:\users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe' -warp 'C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp/pipeline.yaml' 'C:\Users\github\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\warp-d3d12\WaveOps\Output\WaveActiveSum.int64.test.tmp.o'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000005

--

********************
```

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 the failure from OffloadTest/test/WaveOps/WaveActiveSum.int64.test on warp-d3d12 and arm64. Start with the test commands invoking dxc.exe and offloader.exe -warp, then inspect the crash with the available output or debugging tools. Done means the int64 wave active sum test no longer crashes and reports an appropriate result.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.