File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ version = "1.0.0"
88
99[[Adapt ]]
1010deps = [" LinearAlgebra" ]
11- git-tree-sha1 = " 42c42f2221906892ceb765dbcb1a51deeffd86d7 "
11+ git-tree-sha1 = " 27edd95a09fd428113ca019c092e8aeca2eb1f2d "
1212uuid = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e"
13- version = " 2.3 .0"
13+ version = " 3.0 .0"
1414
1515[[Libdl ]]
1616uuid = " 8f399da3-3557-5675-b5ff-fb832c97cbdb"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
1212
1313[compat ]
1414AbstractFFTs = " 0.4, 0.5, 1.0"
15- Adapt = " 2.0"
15+ Adapt = " 2.0, 3.0 "
1616julia = " 1.5"
1717
1818[extras ]
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ abstract type AbstractGPUArrayStyle{N} <: AbstractArrayStyle{N} end
1919
2020# Wrapper types otherwise forget that they are GPU compatible
2121# NOTE: don't directly use GPUArrayStyle here not to lose downstream customizations.
22- BroadcastStyle (W:: Type{<:WrappedGPUArray} )= BroadcastStyle (parent (W){eltype (W), ndims (W)})
23- backend (W:: Type{<:WrappedGPUArray} ) = backend (parent (W){eltype (W), ndims (W)})
22+ BroadcastStyle (W:: Type{<:WrappedGPUArray} )= BroadcastStyle (Adapt . parent (W){Adapt . eltype (W), Adapt . ndims (W)})
23+ backend (W:: Type{<:WrappedGPUArray} ) = backend (Adapt . parent (W){Adapt . eltype (W), Adapt . ndims (W)})
2424
2525# Ref is special: it's not a real wrapper, so not part of Adapt,
2626# but it is commonly used to bypass broadcasting of an argument
You can’t perform that action at this time.
0 commit comments