Skip to content
Merged
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
47 changes: 47 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,53 @@ steps:
soft_fail:
- exit_status: 3

- label: "AMDGPU.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
julia -e 'using Pkg

gpuarrays = pwd()
gpuarrayscore = joinpath(gpuarrays, "lib", "GPUArraysCore")
devdir = mktempdir()
package = joinpath(devdir, "AMDGPU")

println("--- :julia: Installing TestEnv")
Pkg.activate(; temp=true)
Pkg.add("TestEnv")
using TestEnv

println("--- :julia: Installing AMDGPU.jl")
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0,
"JULIA_PKG_DEVDIR" => devdir) do
Pkg.develop("AMDGPU")
Pkg.activate(package)

try
Pkg.develop([PackageSpec(path=gpuarrays), PackageSpec(path=gpuarrayscore)])
TestEnv.activate()
catch err
@error "Could not install AMDGPU.jl" exception=(err,catch_backtrace())
exit(3)
finally
Pkg.activate(package)
end
end

println("+++ :julia: Running tests")
Pkg.test(; coverage=true)'
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 120
soft_fail:
- exit_status: 3

- label: "oneAPI.jl"
plugins:
- JuliaCI/julia#v1:
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/linalg.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@testsuite "linalg/core " (AT, eltypes)->begin
@testsuite "linalg/core" (AT, eltypes) -> begin
@testset "adjoint and transpose" begin
@test compare(adjoint, AT, rand(Float32, 32, 32))
@test compare(adjoint!, AT, rand(Float32, 32, 32), rand(Float32, 32, 32))
Expand Down
Loading