Repository navigation
Conversation
GPUCompiler 1.22 does not select the external GCN backend. Version 1.23 uses the LLVM 22 llc interface, while the LLVM 23 backend JLL exports a different library API. Request GPUCompiler 1.23.0 together with AMDGPU_LLVM_Backend_jll 22.1.8+2 in plain and MPI ROCm test setup. The existing per-worker JLL imports then select the tested external backend. Record the supported pairing and its numerical evidence in the compiler-selection lesson.
Contributor
Dagger benchmarks:
|
| Backend | Regressions | Improvements | Within noise | Inconclusive metrics | Suites |
|---|---|---|---|---|---|
| Threads | 1 | 0 | 12 | 1 | 4/4 |
| Distributed | 1 | 0 | 0 | 3 | 4/4 |
| Distributed+Threads | 0 | 0 | 0 | 1 | 4/4 |
| MPI | 0 | 2 | 1 | 0 | 4/4 |
| MPI+Threads | 0 | 3 | 14 | 1 | 4/4 |
| Total | 2 | 5 | 27 | 6 | 20/20 |
Regressions across all backends
| Backend | Benchmark | Metric | Change |
|---|---|---|---|
| Distributed | stencil/dagger/N=256 (block 128)/neighbors (Clamp) |
time | +46.9% |
| Threads | stencil/dagger/N=256 (block 128)/neighbors (Reflect) |
time | +33.3% |
Improvements across all backends
| Backend | Benchmark | Metric | Change |
|---|---|---|---|
| MPI | array/dagger/N=1024 (block 512)/transpose (permutedims) |
time | -74.7% |
| MPI+Threads | stencil/dagger/N=256 (block 256)/alloc (neighbors Wrap) |
time | -58.7% |
| MPI | linalg/dagger/N=1024 (block 128)/matvec (A*x) |
time | -49.0% |
| MPI+Threads | linalg/dagger/N=256 (block 128)/syrk (A'*A) |
time | -46.7% |
| MPI+Threads | stencil/dagger/N=1024 (block 512)/neighbors (Clamp) |
time | -35.8% |
Threads (1 process × 4 threads) — 1 regressions, 0 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 3 | 0 |
| linalg | 0 | 0 | 5 | 0 |
| sparse | 0 | 0 | 0 | 0 |
| stencil | 1 | 0 | 4 | 1 |
Regressions
| Benchmark | Metric | Change |
|---|---|---|
stencil/dagger/N=256 (block 128)/neighbors (Reflect) |
time | +33.3% |
Within noise
| Benchmark | Metric | Change |
|---|---|---|
array/dagger/N=256 (block 128)/transpose (permutedims) |
time | +70.6% |
linalg/dagger/N=256 (block 256)/matvec (A*x) |
time | +63.7% |
stencil/dagger/N=256 (block 128)/multi-expr |
time | +63.0% |
stencil/dagger/N=1024 (block 128)/assign (const) |
time | +39.9% |
linalg/dagger/N=256 (block 128)/qr |
time | +33.4% |
linalg/dagger/N=256 (block 256)/matmul (A*A) |
time | +28.3% |
array/dagger/N=1024 (block 512)/norm |
time | +26.9% |
stencil/dagger/N=256 (block 128)/assign (const) |
time | -26.3% |
linalg/dagger/N=256 (block 128)/lu |
time | -30.5% |
stencil/dagger/N=1024 (block 128)/update (+) |
time | -33.4% |
linalg/dagger/N=256 (block 128)/syrk (A'*A) |
time | -36.5% |
array/dagger/N=256 (block 128)/add (X + X) |
time | -49.2% |
Inconclusive metric changes
| Benchmark | Metric | Change |
|---|---|---|
stencil/dagger/N=256 (block 128)/neighbors (Clamp) |
time | +25.1% |
Distributed (4 processes × 1 thread) — 1 regressions, 0 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 0 | 0 |
| linalg | 0 | 0 | 0 | 0 |
| sparse | 0 | 0 | 0 | 1 |
| stencil | 1 | 0 | 0 | 2 |
Regressions
| Benchmark | Metric | Change |
|---|---|---|
stencil/dagger/N=256 (block 128)/neighbors (Clamp) |
time | +46.9% |
Inconclusive metric changes
| Benchmark | Metric | Change |
|---|---|---|
sparse/dagger/N=256 (block 16)/cg solve (laplacian) |
time | +125.2% |
stencil/dagger/N=256 (block 128)/neighbors (Wrap) |
time | +50.5% |
stencil/dagger/N=1024 (block 512)/multi-expr |
time | +41.0% |
Distributed+Threads (2 processes × 2 threads) — 0 regressions, 0 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 0 | 0 |
| linalg | 0 | 0 | 0 | 0 |
| sparse | 0 | 0 | 0 | 0 |
| stencil | 0 | 0 | 0 | 1 |
Inconclusive metric changes
| Benchmark | Metric | Change |
|---|---|---|
stencil/dagger/N=1024 (block 512)/neighbors (Clamp) |
time | +43.3% |
MPI (4 ranks × 1 thread) — 0 regressions, 2 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 1 | 1 | 0 |
| linalg | 0 | 1 | 0 | 0 |
| sparse | 0 | 0 | 0 | 0 |
| stencil | 0 | 0 | 0 | 0 |
Improvements
| Benchmark | Metric | Change |
|---|---|---|
array/dagger/N=1024 (block 512)/transpose (permutedims) |
time | -74.7% |
linalg/dagger/N=1024 (block 128)/matvec (A*x) |
time | -49.0% |
Within noise
| Benchmark | Metric | Change |
|---|---|---|
array/dagger/N=1024 (block 512)/alloc (rand) |
time | -58.5% |
MPI+Threads (2 ranks × 2 threads) — 0 regressions, 3 improvements
| Suite | Regressions | Improvements | Within noise | Inconclusive metrics |
|---|---|---|---|---|
| array | 0 | 0 | 5 | 0 |
| linalg | 0 | 1 | 3 | 0 |
| sparse | 0 | 0 | 0 | 1 |
| stencil | 0 | 2 | 6 | 0 |
Improvements
| Benchmark | Metric | Change |
|---|---|---|
stencil/dagger/N=256 (block 256)/alloc (neighbors Wrap) |
time | -58.7% |
linalg/dagger/N=256 (block 128)/syrk (A'*A) |
time | -46.7% |
stencil/dagger/N=1024 (block 512)/neighbors (Clamp) |
time | -35.8% |
Within noise
| Benchmark | Metric | Change |
|---|---|---|
linalg/dagger/N=1024 (block 512)/matvec (A*x) |
time | +185.4% |
stencil/dagger/N=256 (block 128)/neighbors (Wrap) |
time | +132.3% |
array/dagger/N=256 (block 256)/broadcast (X .+ 1) |
time | +83.8% |
array/dagger/N=256 (block 128)/reduce (sum) |
time | +78.0% |
array/dagger/N=1024 (block 512)/alloc (rand) |
time | +60.2% |
stencil/dagger/N=256 (block 128)/multi-expr |
time | +58.2% |
linalg/dagger/N=256 (block 128)/matvec (A*x) |
time | +55.9% |
stencil/dagger/N=1024 (block 128)/update (+) |
time | +51.1% |
stencil/dagger/N=256 (block 128)/neighbors (Reflect) |
time | +46.5% |
linalg/dagger/N=1024 (block 512)/lu |
time | +43.0% |
stencil/dagger/N=1024 (block 512)/assign (const) |
time | -39.5% |
stencil/dagger/N=256 (block 128)/assign (const) |
time | -56.2% |
array/dagger/N=256 (block 128)/broadcast (X .+ 1) |
time | -66.0% |
array/dagger/N=1024 (block 512)/norm |
time | -68.2% |
Inconclusive metric changes
| Benchmark | Metric | Change |
|---|---|---|
sparse/dagger/N=256 (block 16)/spgemm (S*S) |
time | +48.9% |
Full results and plots (download the benchmark-results-* artifacts).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GPUCompiler 1.22.7 does not select the external GCN backend even when its JLL is loaded. GPUCompiler 1.23.0 uses the LLVM 22 backend's
llcexecutable, while the LLVM 23 JLL exposes a different library API. Request the compatibleGPUCompiler 1.23.0/AMDGPU_LLVM_Backend_jll 22.1.8+2pair in plain ROCm optional-package setup, the ROCm MPI environment and its Buildkite setup command. Existing worker imports load the backend JLL before AMDGPU.On EOS gfx1030 with AMDGPU 2.7, the unchanged original mixed-boundary kernel passes with this pair. The unchanged 34-field metadata observer reports helper coordinates
1, 2, versus the old configuration's incorrect2, 3. Both versions changed together; this identifies a working configuration without attributing the result to a particular compiler pass.Targeted numerical validation on Julia 1.11.9:
Both actual setup frontends also completed with natural exit 0. Their resolved graphs, selected sources and artifact identities were independently audited:
Pkg.testsandbox and optional-package branch resolved 291 entries. All packages in the 135-entry numerical control are present; common registered entries match, with only local Dagger/TimespanLogging path aliases among complete common-entry differences. The other 156 entries received setup validation.develop→add→instantiatesetup resolved 127 entries. Compared with the 126-entry numerical control, it adds Krylov 0.10.12, updates XML2_jll 2.15.5 → 2.15.6 and changes local Dagger/TimespanLogging paths. AMDGPU, GPUCompiler, the backend JLL, MPI and MPICH entries match. Numerical tests ran in the targeted 126-entry control; the exact 127-entry frontend closure received setup validation.The setup smokes used a frozen registry and stopped before GPU tests. The local numerical MPI harness needed its rank library-path priority restored for this host's ROCm 7.2 C++ dependency; that local harness repair is outside this patch. Four MPI progress warnings preceded the completed stencil results, and AMDGPU 2.1 emitted two compiler API deprecation warnings. An earlier 2.1 control passed its 11 assertions but needed local
bwrapcleanup and remains a failed clean-exit control; the strict repetition above passed without cleanup. Full GPU suites and current Buildkite 2596 ROCm status remain unverified.AI assistance: Codex prepared this change and the diagnostic controls. Feedback from other Codex agents was checked against source and recorded outcomes.