We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9ed84e commit 0a42771Copy full SHA for 0a42771
lib/GPUArraysCore/src/GPUArraysCore.jl
@@ -120,4 +120,6 @@ Gets the GPUArrays back-end responsible for managing arrays of type `T`.
120
backend(::Type) = error("This object is not a GPU array") # COV_EXCL_LINE
121
backend(x) = backend(typeof(x))
122
123
+backend(::Type{WA}) where WA<:WrappedArray = backend(parent(WA)) # WrappedArray from Adapt for Base wrappers.
124
+
125
end # module GPUArraysCore
0 commit comments