Skip to content

Commit 4974a5e

Browse files
committed
Use JLArray to test
1 parent 247d5d2 commit 4974a5e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/JLArrays/src/JLArrays.jl

-9
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,6 @@ end
332332
Adapt.adapt_storage(::Adaptor, x::JLArray{T,N}) where {T,N} =
333333
JLDeviceArray{T,N}(x.data[], x.offset, x.dims)
334334

335-
function GPUArrays.mapreducedim!(f, op, R::AnyJLArray, A::Union{AbstractArray,Broadcast.Broadcasted};
336-
init=nothing)
337-
if init !== nothing
338-
fill!(R, init)
339-
end
340-
@allowscalar Base.reducedim!(op, typed_data(R), map(f, A))
341-
R
342-
end
343-
344335
## KernelAbstractions interface
345336

346337
KernelAbstractions.get_backend(a::JLA) where JLA <: JLArray = JLBackend()

0 commit comments

Comments
 (0)