From 2314e247693b6ae94166de9b587a0c82c8c25956 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Tue, 24 Sep 2024 13:23:15 +0200 Subject: [PATCH] Use JLArray to test --- lib/JLArrays/src/JLArrays.jl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/JLArrays/src/JLArrays.jl b/lib/JLArrays/src/JLArrays.jl index dbec3d25..2ccaea01 100644 --- a/lib/JLArrays/src/JLArrays.jl +++ b/lib/JLArrays/src/JLArrays.jl @@ -332,15 +332,6 @@ end Adapt.adapt_storage(::Adaptor, x::JLArray{T,N}) where {T,N} = JLDeviceArray{T,N}(x.data[], x.offset, x.dims) -function GPUArrays.mapreducedim!(f, op, R::AnyJLArray, A::Union{AbstractArray,Broadcast.Broadcasted}; - init=nothing) - if init !== nothing - fill!(R, init) - end - @allowscalar Base.reducedim!(op, typed_data(R), map(f, A)) - R -end - ## KernelAbstractions interface KernelAbstractions.get_backend(a::JLA) where JLA <: JLArray = JLBackend()