Diagnostics: run vendor shader analyzers against reproducible XCL artifacts #2562
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2562
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@mokkamokacaffe on GitHub · 2026-11-25 23:01 UTC · original
Diagnostics: run vendor shader analyzers against reproducible XCL artifacts
Summary
Add an opt-in post-processing command that consumes the shader artifacts and manifest from #2553, detects the active adapter vendor, and invokes a configured vendor analyzer when available.
The first targets are AMD Radeon GPU Analyzer and NVIDIA Nsight tooling. Analyzer absence or an unsupported shader must be reported as
SKIPPED, while XCL's common validation and correctness tests retain their normal result.Part of #1269 and follows #2541.
Motivation
DXIL validation establishes that a supported validator accepts a container. It does not explain long driver compilation, high VGPR or SGPR pressure, low occupancy, a vendor-specific compiler failure or a GPU crash. XCL now has a path toward stable guest-code and emitted-DXIL identities in #2553. Vendor reports should attach to those identities so results from different machines can be compared.
Proposed interface
Tool locations should be explicit or discovered from documented installations:
Ordinary test and runtime paths must not download an analyzer. A dedicated CI or contributor setup may install a pinned version before invoking the adapter.
Common report fields
AMD path
Use Radeon GPU Analyzer where its DX12 offline mode supports the emitted container and target GPU. Preserve the raw report and extract stable fields such as ISA size, VGPRs, SGPRs and occupancy.
NVIDIA path
Prototype an external Nsight Python controller for a capture or analysis run. Detect an installed supported version and record it. Keep the controller outside XCL's runtime process. Any NVIDIA SDK redistribution or automated installation must follow its license and documented installation flow.
Test behavior
SKIPPEDwhen the tool is absent or the mode is unsupported.Success criteria
AI use
OpenAI Codex reviewed the proposed XCL diagnostic artifact flow and drafted this vendor-analyzer integration plan.