Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison authored Oct 12, 2024
1 parent 39f56fd commit 5e6014d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
using AMDGPU
using CUDA
using oneAPI
# using AMDGPU
# using CUDA
# using oneAPI
using Test
using KrylovPreconditioners

@testset "KrylovPreconditioners" begin
if AMDGPU.functional()
@info "Testing AMDGPU backend"
@testset "Testing AMDGPU backend" begin
include("gpu/amd.jl")
end
end
# @testset "KrylovPreconditioners" begin
# if AMDGPU.functional()
# @info "Testing AMDGPU backend"
# @testset "Testing AMDGPU backend" begin
# include("gpu/amd.jl")
# end
# end

if CUDA.functional()
@info "Testing CUDA backend"
@testset "Testing CUDA backend" begin
include("gpu/nvidia.jl")
end
end
# if CUDA.functional()
# @info "Testing CUDA backend"
# @testset "Testing CUDA backend" begin
# include("gpu/nvidia.jl")
# end
# end

if oneAPI.functional()
@info "Testing oneAPI backend"
@testset "Testing oneAPI backend" begin
include("gpu/intel.jl")
end
end
# if oneAPI.functional()
# @info "Testing oneAPI backend"
# @testset "Testing oneAPI backend" begin
# include("gpu/intel.jl")
# end
# end

@testset "IncompleteLU.jl" begin
include("ilu/ilu.jl")
Expand Down

0 comments on commit 5e6014d

Please sign in to comment.