Skip to content

Commit

Permalink
Update to newer Enzyme
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th committed Nov 7, 2024
1 parent 1c84287 commit 188374f
Show file tree
Hide file tree
Showing 5 changed files with 297 additions and 208 deletions.
144 changes: 72 additions & 72 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
steps:
- label: "Documentation"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
command: |
julia --project -e '
println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()
Pkg.build()
Pkg.activate("docs")
Pkg.instantiate()
push!(LOAD_PATH, @__DIR__)
# - label: "Documentation"
# plugins:
# - JuliaCI/julia#v1:
# version: "1.10"
# command: |
# julia --project -e '
# println("--- :julia: Instantiating project")
# using Pkg
# Pkg.instantiate()
# Pkg.build()
# Pkg.activate("docs")
# Pkg.instantiate()
# push!(LOAD_PATH, @__DIR__)

println("+++ :julia: Building documentation")
include("docs/make.jl")'
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
if: build.message !~ /\[skip docs\]/
timeout_in_minutes: 10
# println("+++ :julia: Building documentation")
# include("docs/make.jl")'
# agents:
# queue: "juliagpu"
# rocm: "*"
# rocmgpu: "*"
# if: build.message !~ /\[skip docs\]/
# timeout_in_minutes: 10

- label: "Julia 1.10"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
- JuliaCI/julia-test#v1:
- JuliaCI/julia-coverage#v1:
codecov: true
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
if: build.message !~ /\[skip tests\]/
command: "julia --project -e 'using Pkg; Pkg.update()'"
timeout_in_minutes: 180
env:
JULIA_NUM_THREADS: 4
JULIA_AMDGPU_CORE_MUST_LOAD: "1"
JULIA_AMDGPU_HIP_MUST_LOAD: "1"
JULIA_AMDGPU_DISABLE_ARTIFACTS: "1"
# - label: "Julia 1.10"
# plugins:
# - JuliaCI/julia#v1:
# version: "1.10"
# - JuliaCI/julia-test#v1:
# - JuliaCI/julia-coverage#v1:
# codecov: true
# agents:
# queue: "juliagpu"
# rocm: "*"
# rocmgpu: "*"
# if: build.message !~ /\[skip tests\]/
# command: "julia --project -e 'using Pkg; Pkg.update()'"
# timeout_in_minutes: 180
# env:
# JULIA_NUM_THREADS: 4
# JULIA_AMDGPU_CORE_MUST_LOAD: "1"
# JULIA_AMDGPU_HIP_MUST_LOAD: "1"
# JULIA_AMDGPU_DISABLE_ARTIFACTS: "1"

- label: "Julia 1.11 typed pointers"
plugins:
- JuliaCI/julia#v1:
version: "1.11"
- JuliaCI/julia-test#v1:
- JuliaCI/julia-coverage#v1:
codecov: true
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
if: build.message !~ /\[skip tests\]/
command: "julia --project -e 'using Pkg; Pkg.update()'"
timeout_in_minutes: 180
env:
JULIA_NUM_THREADS: 4
JULIA_AMDGPU_CORE_MUST_LOAD: "1"
JULIA_AMDGPU_HIP_MUST_LOAD: "1"
JULIA_AMDGPU_DISABLE_ARTIFACTS: "1"
# - label: "Julia 1.11 typed pointers"
# plugins:
# - JuliaCI/julia#v1:
# version: "1.11"
# - JuliaCI/julia-test#v1:
# - JuliaCI/julia-coverage#v1:
# codecov: true
# agents:
# queue: "juliagpu"
# rocm: "*"
# rocmgpu: "*"
# if: build.message !~ /\[skip tests\]/
# command: "julia --project -e 'using Pkg; Pkg.update()'"
# timeout_in_minutes: 180
# env:
# JULIA_NUM_THREADS: 4
# JULIA_AMDGPU_CORE_MUST_LOAD: "1"
# JULIA_AMDGPU_HIP_MUST_LOAD: "1"
# JULIA_AMDGPU_DISABLE_ARTIFACTS: "1"

# - label: "Julia 1.11 opaque pointers"
# plugins:
Expand Down Expand Up @@ -102,19 +102,19 @@ steps:
JULIA_AMDGPU_HIP_MUST_LOAD: "1"
JULIA_AMDGPU_DISABLE_ARTIFACTS: "1"

- label: "GPU-less environment"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
- JuliaCI/julia-test#v1:
run_tests: false
command: |
julia --project -e '
using AMDGPU
@assert !AMDGPU.functional()'
agents:
queue: "juliagpu"
intel: "*"
# - label: "GPU-less environment"
# plugins:
# - JuliaCI/julia#v1:
# version: "1.10"
# - JuliaCI/julia-test#v1:
# run_tests: false
# command: |
# julia --project -e '
# using AMDGPU
# @assert !AMDGPU.functional()'
# agents:
# queue: "juliagpu"
# intel: "*"

env:
JULIA_AMDGPU_LOGGING_ENABLED: true
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ AcceleratedKernels = "0.1, 0.2"
Adapt = "4"
Atomix = "0.1"
CEnum = "0.4, 0.5"
EnzymeCore = "0.7.3"
EnzymeCore = "0.8.2"
ExprTools = "0.1"
GPUArrays = "10"
GPUCompiler = "0.27, 1.0"
Expand Down
Loading

0 comments on commit 188374f

Please sign in to comment.