Skip to content

Commit 7f353c4

Browse files
committed
Remove unused backend function.
1 parent cd32ce3 commit 7f353c4

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/GPUArraysCore/src/GPUArraysCore.jl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,4 @@ macro allowscalar(ex)
209209
end
210210
end
211211

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-
227212
end # module GPUArraysCore

0 commit comments

Comments
 (0)