From 42338fe17833d546ad1ff5a98782fa344bfce536 Mon Sep 17 00:00:00 2001 From: Christian <28689358+christiangnrd@users.noreply.github.com> Date: Mon, 13 Oct 2025 13:45:34 -0300 Subject: [PATCH 1/2] Also gitignore version-specific manifests --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ba39cc53..ced94deb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Manifest.toml +Manifest-*.toml From 9e2952dcc90d778ecc80488e25070ad1d4d2c245 Mon Sep 17 00:00:00 2001 From: Christian <28689358+christiangnrd@users.noreply.github.com> Date: Mon, 13 Oct 2025 13:51:48 -0300 Subject: [PATCH 2/2] Run tests when not default backend but still supported --- test/array.jl | 2 +- test/buffer.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/array.jl b/test/array.jl index afe97e23..f4ee531b 100644 --- a/test/array.jl +++ b/test/array.jl @@ -49,7 +49,7 @@ import Adapt end # TODO: Look into how to port the @sync - if cl.memory_backend() isa cl.USMBackend + if cl.USMBackend() in cl.supported_memory_backends(cl.device()) @testset "shared buffers & unsafe_wrap" begin a = CLVector{Int, cl.UnifiedSharedMemory}(undef, 2) diff --git a/test/buffer.jl b/test/buffer.jl index 7260215a..0b4b10c2 100644 --- a/test/buffer.jl +++ b/test/buffer.jl @@ -74,7 +74,7 @@ end end -if cl.memory_backend() isa cl.SVMBackend +if cl.SVMBackend() in cl.supported_memory_backends(cl.device()) @testset "SVM Buffer" begin # simple buffer let buf = cl.svm_alloc(sizeof(Int))