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
70 changes: 40 additions & 30 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
steps:
- label: "CUDA Julia {{matrix.version}}"
matrix:
setup:
version:
- "1.10"
- "1.11"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
julia -e 'println("--- :julia: Developing CUDA")
using Pkg
Pkg.add(url="https://github.com/christiangnrd/CUDA.jl", rev="intrinsics")'
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop(; path=pwd())' || exit 3

julia -e 'println("+++ :julia: Running tests")
using Pkg
Pkg.test("CUDA"; coverage=true, test_args=["base/kernelabstractions"])'
agents:
queue: "juliagpu"
cuda: "*"
timeout_in_minutes: 120
soft_fail:
- exit_status: 3
env:
JULIA_PROJECT: "@cuda"
# - label: "CUDA Julia {{matrix.version}}"
# matrix:
# setup:
# version:
# - "1.10"
# - "1.11"
# - "1.12"
# - "1.13"
# plugins:
# - JuliaCI/julia#v1:
# version: "{{matrix.version}}"
# - JuliaCI/julia-coverage#v1:
# codecov: true
# command: |
# julia -e 'println("--- :julia: Developing CUDA")
# using Pkg
# Pkg.add(url="https://github.com/christiangnrd/CUDA.jl", rev="intrinsics")'
# julia -e 'println("--- :julia: Instantiating project")
# using Pkg
# Pkg.develop(; path=pwd())' || exit 3
#
# julia -e 'println("+++ :julia: Running tests")
# using Pkg
# Pkg.test("CUDA"; coverage=true, test_args=["base/kernelabstractions"])'
# agents:
# queue: "juliagpu"
# cuda: "*"
# timeout_in_minutes: 120
# soft_fail:
# - exit_status: 3
# env:
# JULIA_PROJECT: "@cuda"

# - label: "CUDA Enzyme Julia {{matrix.version}}"
# matrix:
Expand Down Expand Up @@ -68,6 +70,8 @@ steps:
version:
- "1.10"
- "1.11"
- "1.12"
- "1.13"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
Expand Down Expand Up @@ -100,6 +104,8 @@ steps:
version:
- "1.10"
- "1.11"
- "1.12"
- "1.13"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
Expand Down Expand Up @@ -132,6 +138,8 @@ steps:
version:
- "1.10"
- "1.11"
- "1.12"
- "1.13"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
Expand Down Expand Up @@ -166,6 +174,8 @@ steps:
version:
- "1.10"
- "1.11"
- "1.12"
- "1.13"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ['1.10', '1.11', '1.12']
version: ['1.10', '1.11', '1.12', '1.13-nightly']
os: [ubuntu-24.04, ubuntu-24.04-arm, macOS-15, macOS-15-intel, windows-2022]
arch: [x64, arm64]
pocl: [jll, local]
Expand Down
6 changes: 5 additions & 1 deletion test/test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@ function unittest_testsuite(Backend, backend_str, backend_mod, BackendArrayT; sk
@test occursin("!alias.scope", IR)
@test occursin("!noalias", IR)
elseif backend_str == "CUDA"
@test occursin("@llvm.nvvm.ldg", IR)
if Base.libllvm_version >= v"20"
@test occursin("addrspace(1)", IR)
else
@test occursin("@llvm.nvvm.ldg", IR)
end
elseif backend_str == "ROCM"
@test occursin("addrspace(4)", IR)
else
Expand Down
Loading