Skip to content

Commit 1cf5e5a

Browse files
committed
CI fix
`GPUArraysCore` doesnt export `backend`
1 parent cd32b53 commit 1cf5e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StructArrays.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Adapt.adapt_structure(to, s::StructArray) = replace_storage(x->Adapt.adapt(to, x
3232
# for GPU broadcast
3333
import GPUArraysCore
3434
function GPUArraysCore.backend(::Type{T}) where {T<:StructArray}
35-
backs = map(backend, fieldtypes(array_types(T)))
35+
backs = map(GPUArraysCore.backend, fieldtypes(array_types(T)))
3636
all(Base.Fix2(===, backs[1]), tail(backs)) || error("backend mismatch!")
3737
return backs[1]
3838
end

0 commit comments

Comments
 (0)