Skip to content

Commit c480117

Browse files
Merge pull request #557 from ChrisRackauckas-Claude/fix-fb-serial
Update FastBroadcast extension to Serial dispatch
2 parents 5ae3f87 + d1ca597 commit c480117

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Aqua = "0.8"
5050
ArrayInterface = "7.16"
5151
CUDA = "5"
5252
DocStringExtensions = "0.9.3"
53-
FastBroadcast = "1.1"
53+
FastBroadcast = "1.3"
5454
ForwardDiff = "0.10.38, 1"
5555
GPUArraysCore = "0.2"
5656
KernelAbstractions = "0.9.36"

ext/RecursiveArrayToolsFastBroadcastExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ module RecursiveArrayToolsFastBroadcastExt
22

33
using RecursiveArrayTools
44
using FastBroadcast
5+
using FastBroadcast: Serial
56
using StaticArraysCore
67

78
const AbstractVectorOfSArray = AbstractVectorOfArray{
89
T, N, <:AbstractVector{<:StaticArraysCore.SArray},
910
} where {T, N}
1011

11-
# Override the base 2-arg path (called by Serial dispatch and direct macro path)
1212
@inline function FastBroadcast.fast_materialize!(
13-
dst::AbstractVectorOfSArray,
13+
::Serial, dst::AbstractVectorOfSArray,
1414
bc::Broadcast.Broadcasted{S}
1515
) where {S}
1616
if FastBroadcast.use_fast_broadcast(S)

0 commit comments

Comments
 (0)