Skip to content

Commit

Permalink
[Tests] Update gpu.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Sep 24, 2023
1 parent 0138dfb commit 8e5570a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/gpu/gpu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@ function test_processes(S, M)

cpu_A, cpu_b = symmetric_indefinite(n, FC=FC)
gpu_A, gpu_b = M(cpu_A), S(cpu_b)
V, T = hermitian_lanczos(gpu_A, gpu_b, k)
V, β, T = hermitian_lanczos(gpu_A, gpu_b, k)

cpu_A, cpu_b = nonsymmetric_definite(n, FC=FC)
cpu_c = -cpu_b
gpu_A, gpu_b, gpu_c = M(cpu_A), S(cpu_b), S(cpu_c)
V, T, U, Tᴴ = nonhermitian_lanczos(gpu_A, gpu_b, gpu_c, k)
V, β, T, U, γᴴ, Tᴴ = nonhermitian_lanczos(gpu_A, gpu_b, gpu_c, k)

cpu_A, cpu_b = nonsymmetric_indefinite(n, FC=FC)
gpu_A, gpu_b = M(cpu_A), S(cpu_b)
V, H = arnoldi(gpu_A, gpu_b, k)
V, β, H = arnoldi(gpu_A, gpu_b, k)

cpu_A, cpu_b = under_consistent(m, n, FC=FC)
gpu_A, gpu_b = M(cpu_A), S(cpu_b)
V, U, L = golub_kahan(gpu_A, gpu_b, k)
V, U, β, L = golub_kahan(gpu_A, gpu_b, k)

cpu_A, cpu_b = under_consistent(m, n, FC=FC)
_, cpu_c = over_consistent(n, m, FC=FC)
gpu_A, gpu_b, gpu_c = M(cpu_A), S(cpu_b), S(cpu_c)
V, T, U, Tᴴ = saunders_simon_yip(gpu_A, gpu_b, gpu_c, k)
V, β, T, U, γᴴ, Tᴴ = saunders_simon_yip(gpu_A, gpu_b, gpu_c, k)

cpu_A, cpu_b = under_consistent(m, n, FC=FC)
cpu_B, cpu_c = over_consistent(n, m, FC=FC)
gpu_A, gpu_B, gpu_b, gpu_c = M(cpu_A), M(cpu_B), S(cpu_b), S(cpu_c)
V, H, U, F = montoison_orban(gpu_A, gpu_B, gpu_b, gpu_c, k)
V, β, H, U, γ, F = montoison_orban(gpu_A, gpu_B, gpu_b, gpu_c, k)
end

function test_solver(S, M)
Expand Down

0 comments on commit 8e5570a

Please sign in to comment.