Skip to content

[CI Testing Only] PR #1187 AMD verification: debug layer OFF#1194

Draft
alsepkow wants to merge 7 commits into
llvm:mainfrom
alsepkow:pr-1187-testing-no-debug-layer
Draft

[CI Testing Only] PR #1187 AMD verification: debug layer OFF#1194
alsepkow wants to merge 7 commits into
llvm:mainfrom
alsepkow:pr-1187-testing-no-debug-layer

Conversation

@alsepkow
Copy link
Copy Markdown
Collaborator

[CI testing only — do not merge]

Third variant of PR #1187 verification, testing the D3D12 debug layer as a contributing factor to the AMD amdxc64.dll PSO compilation crashes.

What this changes

Adds -DOFFLOADTEST_ENABLE_DEBUG=Off to the AMD CI builds. This sets OFFLOADTEST_ENABLE_DEBUG=OFF in CMake, which causes test/lit.cfg.py to omit the -debug-layer flag when invoking offloader.exe. So the offloader runs without D3D12SDKLayers.dll in the call chain.

Why

In the crashes observed in PRs #1189 (RelWithDebInfo) and #1190 (Debug), the call stack shows D3D12SDKLayers.dll directly above the AMD frames:

#22-#24  D3D12SDKLayers.dll       ← debug layer
#25      d3d12.dll
#26-#27  D3D12Core.dll
#28      D3D12SDKLayers.dll       ← debug layer
#29      DXDevice::createPipelineCs (offloader)

We want to know:

  • If failures disappear → debug layer is implicated (interaction with amdxc64.dll)
  • If failures persist → bug is purely in amdxc64.dll PSO compilation

Companion PRs

Branch

alsepkow/offload-test-suite:pr-1187-testing-no-debug-layer

alsepkow and others added 7 commits May 13, 2026 16:07
Both AMD and NVIDIA DirectX configurations have been stable and have higher pass rates than the existing Tier 1 Intel target. Promote them to Tier 1 so they run on every PR. Qualcomm and the Vulkan IHV configurations remain experimental and continue to require the 'test-all' label.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Match the tier change in docs/CI.md and pr-matrix.yaml so the README status table reflects that these targets now run on every PR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Per Bob's review feedback, switch from listing AMD/NVIDIA D3D12 combinations via 'include' to a cross-product with 'exclude' for the AMD/NVIDIA Vulkan combinations. As future targets get promoted out of experimental, we can simply remove exclusions rather than adding inclusions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Apply the same cross-product + exclude pattern to the experimental Exec-Tests-Extra job for consistency. As targets are promoted out of experimental, exclusions can be added here in lockstep with their removal from the Tier 1 Exec-Tests-Windows job.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This reverts commit 1eec3eb.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This change is for the draft AMD-testing PR only and should NOT be merged.
Strips the matrix down to only windows-amd x {check-hlsl-d3d12, check-hlsl-clang-d3d12}
so we can quickly iterate on AMD D3D12 stability investigation without spending
CI on Intel/NVIDIA/MacOS/WARP/Vulkan jobs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds -DOFFLOADTEST_ENABLE_DEBUG=Off to test whether the AMD amdxc64.dll
PSO compilation crashes/failures still reproduce when the D3D12 debug
layer (D3D12SDKLayers.dll) is not present in the call chain.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant