Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ steps:
agents:
queue: "rocm"
command: |
julia --project=test/rocmenv -e 'using Pkg; Pkg.develop([PackageSpec(path=pwd()), PackageSpec(path="lib/TimespanLogging")]); Pkg.instantiate()'
julia --project=test/rocmenv -e 'using Pkg; Pkg.develop([PackageSpec(path=pwd()), PackageSpec(path="lib/TimespanLogging")]); Pkg.add([PackageSpec(name="GPUCompiler", version=v"1.23.0"), PackageSpec(name="AMDGPU_LLVM_Backend_jll", version=v"22.1.8+2")]); Pkg.instantiate()'
julia --project=test/rocmenv test/mpi/run.jl 2 2 test/mpi/rocm.jl

- label: Julia 1.11 (oneAPI, MPI)
Expand Down
10 changes: 10 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,16 @@ this section verbatim). Each entry is one bullet starting with `- `.
adding it only to the driver's environment leaves remote codegen unchanged.
Keep both comparison revisions on the same backend.

Pair the compiler and backend APIs explicitly: GPUCompiler 1.23.0 expects
`AMDGPU_LLVM_Backend_jll` 22.1.8+2's `llc` executable, whereas the 23.x
JLL exports a library API. With the latter unconstrained, the resolver can
retain GPUCompiler 1.22.7, which has no external GCN backend at all, so
importing the JLL still leaves embedded LLVM selected. On EOS gfx1030,
the unchanged mixed-boundary kernel and original metadata observer pass
with the 1.23.0/22.1.8+2 pair; the observer's actual helper coordinates
change from the old pair's incorrect `2, 3` to `1, 2`. This identifies a
working local configuration, not a specific compiler pass or full CI parity.

81. **Small Intel MPI smokes do not validate the benchmark workload.** On this
Arc Pro B60 with oneAPI 2.9.2, two-rank functional tests pass all 171/174
assertions with host staging and the legacy Level Zero adapter, and the
Expand Down
5 changes: 5 additions & 0 deletions test/rocmenv/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e"
AMDGPU_LLVM_Backend_jll = "cc5c0156-bd05-5a77-8a68-bb0aafb29019"
Dagger = "d58978e5-989f-55fb-8d15-ea34adc7bf54"
GPUCompiler = "61eb1bfa-7361-4325-ad38-22787b887f55"
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
AMDGPU_LLVM_Backend_jll = "=22.1.8"
GPUCompiler = "=1.23.0"

[sources]
Dagger = {path = "../.."}
20 changes: 18 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,31 @@ if USE_GPU || USE_FINCH || "extlang/python" in to_test
using Pkg
optional_packages = String[]
USE_CUDA && push!(optional_packages, "CUDA")
USE_ROCM && append!(optional_packages, ["AMDGPU", "AMDGPU_LLVM_Backend_jll"])
USE_ROCM && append!(optional_packages, ["AMDGPU", "GPUCompiler", "AMDGPU_LLVM_Backend_jll"])
USE_ONEAPI && push!(optional_packages, "oneAPI")
USE_METAL && push!(optional_packages, "Metal")
USE_OPENCL && append!(optional_packages, ["OpenCL", "pocl_jll"])
USE_FINCH && push!(optional_packages, "Finch")
if "extlang/python" in to_test
append!(optional_packages, ["CondaPkg", "PythonCall"])
end
Pkg.add(optional_packages)
if USE_ROCM
# GPUCompiler 1.22 ignores the external AMDGPU backend; 1.23 uses
# its LLVM 22 llc interface, rather than the newer JLL's library API.
packages = Pkg.PackageSpec[]
for name in optional_packages
if name == "GPUCompiler"
push!(packages, Pkg.PackageSpec(; name, version=v"1.23.0"))
elseif name == "AMDGPU_LLVM_Backend_jll"
push!(packages, Pkg.PackageSpec(; name, version=v"22.1.8+2"))
else
push!(packages, Pkg.PackageSpec(; name))
end
end
Pkg.add(packages)
else
Pkg.add(optional_packages)
end
end

# Select the transport before loading Dagger, MemPool, or TimespanLogging:
Expand Down
Loading