Closed
Description
openedon Aug 31, 2021
Is this asymmetry the intended behaviour?
julia> using Adapt, CUDA, FillArrays
julia> adapt(CuArray, Fill(2f0,2))
2-element Fill{Float32}, with entries equal to 2.0
julia> adapt(Array, Fill(2f0,2))
2-element Vector{Float32}:
2.0
2.0
Ranges behave the same way:
julia> adapt(CuArray, 1:2f0)
1.0f0:1.0f0:2.0f0
julia> adapt(Array, 1:2f0)
2-element Vector{Float32}:
1.0
2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels