Skip to content

Commit

Permalink
Update tests of KrylovPreconditioners.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 12, 2024
1 parent 1333f73 commit 02f50e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
3 changes: 0 additions & 3 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[deps]
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
oneAPI = "8f75cd03-7ff8-4ecb-9b8f-daf728133b1b"
28 changes: 2 additions & 26 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,32 +1,8 @@
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")
@testset "IncompleteLU.jl" begin
include("ilu/ilu.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

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

0 comments on commit 02f50e9

Please sign in to comment.