We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b58747a commit b997642Copy full SHA for b997642
.gitignore
@@ -1 +1,2 @@
1
Manifest.toml
2
+Manifest-*.toml
test/array.jl
@@ -49,7 +49,7 @@ import Adapt
49
end
50
# TODO: Look into how to port the @sync
51
52
- if cl.memory_backend() isa cl.USMBackend
+ if cl.USMBackend() in cl.supported_memory_backends(cl.device())
53
@testset "shared buffers & unsafe_wrap" begin
54
a = CLVector{Int, cl.UnifiedSharedMemory}(undef, 2)
55
test/buffer.jl
@@ -74,7 +74,7 @@
74
75
76
77
-if cl.memory_backend() isa cl.SVMBackend
+if cl.SVMBackend() in cl.supported_memory_backends(cl.device())
78
@testset "SVM Buffer" begin
79
# simple buffer
80
let buf = cl.svm_alloc(sizeof(Int))
0 commit comments