Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Manifest.toml
Manifest-*.toml
2 changes: 1 addition & 1 deletion test/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion test/buffer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Loading