From 02f50e93bab2a52f9ba2bf7c13738fade0af80e2 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Sat, 12 Oct 2024 12:41:37 -0500 Subject: [PATCH] Update tests of KrylovPreconditioners.jl --- test/Project.toml | 3 --- test/runtests.jl | 28 ++-------------------------- 2 files changed, 2 insertions(+), 29 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index b04c043..1550d3d 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -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" diff --git a/test/runtests.jl b/test/runtests.jl index 0092bf9..480848c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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