We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd32b53 commit 1cf5e5aCopy full SHA for 1cf5e5a
src/StructArrays.jl
@@ -32,7 +32,7 @@ Adapt.adapt_structure(to, s::StructArray) = replace_storage(x->Adapt.adapt(to, x
32
# for GPU broadcast
33
import GPUArraysCore
34
function GPUArraysCore.backend(::Type{T}) where {T<:StructArray}
35
- backs = map(backend, fieldtypes(array_types(T)))
+ backs = map(GPUArraysCore.backend, fieldtypes(array_types(T)))
36
all(Base.Fix2(===, backs[1]), tail(backs)) || error("backend mismatch!")
37
return backs[1]
38
end
0 commit comments