You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FLoops.jl 0.2 defaults to a parallel loop; i.e., it uses a parallel executor (e.g., ThreadedEx) when the executor is not specified and the explicit sequential form @floop begin ... end is not used.
That is to say, @floop without @reduce such as
@floop for i in eachindex(ys, xs)
ys[i] = f(xs[i])
end
is now executed in parallel by default.
looks like it implies that with a @reduce it doesn't?
The doc sometimes talks about @reduce() do end and sometimes about @reduce and @init. Is the latter new syntax for the former?
The text was updated successfully, but these errors were encountered:
looks like it implies that with a
@reduce
it doesn't?@reduce() do end
and sometimes about@reduce
and@init
. Is the latter new syntax for the former?The text was updated successfully, but these errors were encountered: