From 644e54dd5d7309d825302c16cee5418012014f12 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Fri, 17 Nov 2023 12:04:35 -0600 Subject: [PATCH] Use a trick to just run GPU tests with buildkite --- test/gpu/gpu.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gpu/gpu.jl b/test/gpu/gpu.jl index a5c7e18..107ad94 100644 --- a/test/gpu/gpu.jl +++ b/test/gpu/gpu.jl @@ -18,7 +18,7 @@ function test_ic0(FC, V, M) x_gpu, stats = cg(A_gpu, b_gpu, M=P, ldiv=true) r_gpu = b_gpu - A_gpu * x_gpu @test stats.niter ≤ 5 - if (FC <: ComplexF64) && (isa(A_gpu, ROCSparseMatrixCSR)) + if (FC <: ComplexF64) && typeof(V).name.name == :ROCArray @test_broken norm(r_gpu) ≤ 1e-6 else @test norm(r_gpu) ≤ 1e-8