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
@@ -437,7 +437,7 @@ partial sums. `s1, s2, ...` are shared between all terms in the sum.
437
437
**`f`*: function literal referring to a function specifying the
438
438
partial sum operation. Refer to the [partial sum function](#functions-partial-sum).
439
439
**`x`*: array of `T`, one for each term of the reduction, `T` can be any type,
440
-
**`grainsize`*: For `reduce_sum`, `grainsize` is the recommended size of the partial sum. For `reduce_sum_static`, `grainsize`determinse the maximum size of the partial sums, type `int`,
440
+
**`grainsize`*: For `reduce_sum`, `grainsize` is the recommended size of the partial sum (`grainsize = 1` means pick totally automatically). For `reduce_sum_static`, `grainsize`determines the maximum size of the partial sums, type `int`,
441
441
**`s1`*: first (optional) shared argument, type `T1`, where `T1` can be any type
442
442
**`s2`*: second (optional) shared argument, type `T2`, where `T2` can be any type,
443
443
**`...`*: remainder of shared arguments, each of which can be any type.
0 commit comments