-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests of KrylovPreconditioners.jl
- Loading branch information
1 parent
1333f73
commit 02f50e9
Showing
2 changed files
with
2 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |