Closed avik-pal closed 2 months ago
@ChrisRackauckas the test failure is real https://github.com/SciML/DiffEqBase.jl/actions/runs/9069483730/job/24919132493#step:6:1967. We need to figure out how to do the conversion in a device agnostic way but convert(AbstractArray, ...)
doesnt seem to work
oh oops. Use Adapt?
does Adapt natively work with RAT? I don't see any code there for that.
We should probably overload convert(AbstractArray, <RAT>)
instead of https://github.com/SciML/RecursiveArrayTools.jl/blob/39573324b1460a8cefeed7dbb2a85350713544d4/src/vector_of_array.jl#L130
that would be good to add
If
p
is not extracted before, then it tries to promoteu0
to the tracked type.