llvm / llvm/offload-test-suite

[QC][Vulkan][Clang] `Feature/HLSLLib/mul.int64.test` fails on Qualcomm under Vulkan with Clang

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

Nobody has claimed this yet.

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

Description

The test `Feature/HLSLLib/mul.int64.test` fails on Qualcomm when running under Vulkan with the Clang compiler.
Notably, the test does pass under DXC: https://github.com/llvm/offload-test-suite/actions/runs/23050379034/job/66949784913#step:12:397

Logs: https://github.com/llvm/offload-test-suite/actions/runs/23050218583/job/66949237074#step:12:481
```
FAIL: OffloadTest-clang-vk :: Feature/HLSLLib/mul.int64.test (183 of 396)
******************** TEST 'OffloadTest-clang-vk :: Feature/HLSLLib/mul.int64.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 117
c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe C:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\Feature\HLSLLib\mul.int64.test C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp
# executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\Feature\HLSLLib\mul.int64.test' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp'
# RUN: at line 118
c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\clang-dxc.exe -spirv -fspv-target-env=vulkan1.3 -fspv-extension=DXC --dxv-path=C:/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Fo C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp.o C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp/source.hlsl
# executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\clang-dxc.exe' -spirv -fspv-target-env=vulkan1.3 -fspv-extension=DXC --dxv-path=C:/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Fo 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp.o' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp/source.hlsl'
# RUN: at line 119
c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe -debug-layer C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp/pipeline.yaml C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp.o
# executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe' -debug-layer 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp/pipeline.yaml' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\HLSLLib\Output\mul.int64.test.tmp.o'
# .---command stdout------------
# | Using Vulkan API
# | Physical device created.
# | Shader module created.
# | Copy command buffer created.
# | Memory buffers created.
# | Executed copy command buffer.
# | Execute command buffer created.
# | Descriptors: { type = 7, count = 2 }
# | Descriptor pool created.
# | Binding 2 descriptors.
# | Num Descriptor sets: 1
# | Updating Descriptor [0] { 0, 0 }
# | Updating Descriptor [1] { 0, 1 }
# | WriteDescriptors: 2
# | Descriptor sets created.
# `-----------------------------
# .---command stderr------------
# | gpu-exec: error: Failed to create pipeline.
# `-----------------------------
# 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

Start with Feature/HLSLLib/mul.int64.test and reproduce the clang-vk run on Qualcomm using the commands and logs linked in the issue. Compare the failing Vulkan pipeline creation with the passing DXC run; done means the test completes successfully under Vulkan with Clang.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.