Skip to content

Commit

Permalink
Fix GPU conversions for AbstractVectorOfArray
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Dec 27, 2023
1 parent c5f4cc6 commit 63421ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RecursiveArrayTools"
uuid = "731186ca-8d62-57ce-b412-fbd966d074cd"
authors = ["Chris Rackauckas <[email protected]>"]
version = "3.2.7"
version = "3.2.8"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
2 changes: 1 addition & 1 deletion src/RecursiveArrayTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Base.show(io::IO, x::Union{ArrayPartition, AbstractVectorOfArray})
end

import GPUArraysCore
Base.convert(T::Type{<:GPUArraysCore.AbstractGPUArray}, VA::AbstractVectorOfArray) = T(VA)
Base.convert(T::Type{<:GPUArraysCore.AnyGPUArray}, VA::AbstractVectorOfArray) = stack(VA.u)

import Requires
@static if !isdefined(Base, :get_extension)
Expand Down

0 comments on commit 63421ad

Please sign in to comment.