@@ -135,7 +135,7 @@ function treduce end
135
135
136
136
"""
137
137
tforeach(f, A::AbstractArray...;
138
- [schedule ::Union{Scheduler, Symbol} = :dynamic]) :: Nothing
138
+ [scheduler ::Union{Scheduler, Symbol} = :dynamic]) :: Nothing
139
139
140
140
A multithreaded function like `Base.foreach`. Apply `f` to each element of `A` on
141
141
multiple parallel tasks, and return `nothing`. I.e. it is the parallel equivalent of
@@ -174,7 +174,7 @@ function tforeach end
174
174
175
175
"""
176
176
tmap(f, [OutputElementType], A::AbstractArray...;
177
- [schedule ::Union{Scheduler, Symbol} = :dynamic])
177
+ [scheduler ::Union{Scheduler, Symbol} = :dynamic])
178
178
179
179
A multithreaded function like `Base.map`. Create a new container `similar` to `A` and fills
180
180
it in parallel such that the `i`th element is equal to `f(A[i])`.
@@ -207,7 +207,7 @@ function tmap end
207
207
208
208
"""
209
209
tmap!(f, out, A::AbstractArray...;
210
- [schedule ::Union{Scheduler, Symbol} = :dynamic])
210
+ [scheduler ::Union{Scheduler, Symbol} = :dynamic])
211
211
212
212
A multithreaded function like `Base.map!`. In parallel on multiple tasks, this function
213
213
assigns each element of `out[i] = f(A[i])` for each index `i` of `A` and `out`.
@@ -225,7 +225,7 @@ function tmap! end
225
225
226
226
"""
227
227
tcollect([OutputElementType], gen::Union{AbstractArray, Generator{<:AbstractArray}};
228
- [schedule ::Union{Scheduler, Symbol} = :dynamic])
228
+ [scheduler ::Union{Scheduler, Symbol} = :dynamic])
229
229
230
230
A multithreaded function like `Base.collect`. Essentially just calls `tmap` on the
231
231
generator function and inputs.
0 commit comments