diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index d25fd5fb..d63707c7 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -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: @@ -68,6 +70,8 @@ steps: version: - "1.10" - "1.11" + - "1.12" + - "1.13" plugins: - JuliaCI/julia#v1: version: "{{matrix.version}}" @@ -100,6 +104,8 @@ steps: version: - "1.10" - "1.11" + - "1.12" + - "1.13" plugins: - JuliaCI/julia#v1: version: "{{matrix.version}}" @@ -132,6 +138,8 @@ steps: version: - "1.10" - "1.11" + - "1.12" + - "1.13" plugins: - JuliaCI/julia#v1: version: "{{matrix.version}}" @@ -166,6 +174,8 @@ steps: version: - "1.10" - "1.11" + - "1.12" + - "1.13" plugins: - JuliaCI/julia#v1: version: "{{matrix.version}}" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8de2ba4f..dbd3ca88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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] diff --git a/test/test.jl b/test/test.jl index 22c989e7..6d4e7dc7 100644 --- a/test/test.jl +++ b/test/test.jl @@ -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