From 53242b4982efe7c381fcffe28c20e6bbd1377658 Mon Sep 17 00:00:00 2001 From: Alexis Montoison <35051714+amontoison@users.noreply.github.com> Date: Tue, 5 Nov 2024 22:08:21 -0600 Subject: [PATCH] Test KrylovPreconditioners.jl with oneAPI.jl (#62) --- .buildkite/pipeline.yml | 3 +++ test/gpu/intel.jl | 2 +- test/gpu/nvidia.jl | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 9ba5600..f343d21 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -58,3 +58,6 @@ steps: Pkg.instantiate() include("test/gpu/intel.jl")' timeout_in_minutes: 30 + env: + OverrideDefaultFP64Settings: 1 + IGC_EnableDPEmulation: 1 diff --git a/test/gpu/intel.jl b/test/gpu/intel.jl index 7b06824..4299cbc 100644 --- a/test/gpu/intel.jl +++ b/test/gpu/intel.jl @@ -23,5 +23,5 @@ include("gpu.jl") # @testset "Block Jacobi preconditioner" begin # test_block_jacobi(oneAPIBackend(), oneArray, oneSparseMatrixCSR) - # end + # end end diff --git a/test/gpu/nvidia.jl b/test/gpu/nvidia.jl index 6d7c0a5..aa25031 100644 --- a/test/gpu/nvidia.jl +++ b/test/gpu/nvidia.jl @@ -1,6 +1,6 @@ using CUDA, CUDA.CUSPARSE, CUDA.CUSOLVER -_get_type(J::CuSparseMatrixCSR) = CuArray{Float64, 1, CUDA.Mem.DeviceBuffer} +_get_type(J::CuSparseMatrixCSR) = CuArray{Float64, 1, CUDA.DeviceMemory} _is_csr(J::CuSparseMatrixCSR) = true _is_csc(J::CuSparseMatrixCSR) = false include("gpu.jl")