diff --git a/ext/ComponentArraysGPUArraysExt.jl b/ext/ComponentArraysGPUArraysExt.jl index 1bab0944..092e6481 100644 --- a/ext/ComponentArraysGPUArraysExt.jl +++ b/ext/ComponentArraysGPUArraysExt.jl @@ -1,6 +1,7 @@ module ComponentArraysGPUArraysExt using ComponentArrays, LinearAlgebra +using ComponentArrays: recursive_eltype isdefined(Base, :get_extension) ? (using GPUArrays) : (using ..GPUArrays) const GPUComponentArray = ComponentArray{T,N,<:GPUArrays.AbstractGPUArray,Ax} where {T,N,Ax}