We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd32ce3 commit 7f353c4Copy full SHA for 7f353c4
lib/GPUArraysCore/src/GPUArraysCore.jl
@@ -209,19 +209,4 @@ macro allowscalar(ex)
209
end
210
211
212
-
213
-## other
214
215
-"""
216
- backend(x)
217
- backend(T::Type)
218
219
-Gets the GPUArrays back-end responsible for managing arrays of type `T`.
220
221
-get_backend(::Type) = error("This object is not a GPU array") # COV_EXCL_LINE
222
-get_backend(x) = get_backend(typeof(x))
223
224
-# WrappedArray from Adapt for Base wrappers.
225
-get_backend(::Type{WA}) where WA<:WrappedArray = backend(unwrap_type(WA))
226
227
end # module GPUArraysCore
0 commit comments