Skip to content

Commit

Permalink
Update src/schedulers.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Mason Protter <[email protected]>
  • Loading branch information
carstenbauer and MasonProtter authored Sep 26, 2024
1 parent 9ff1ba3 commit 7831b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schedulers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ with other multithreaded code.
- `chunksize::Integer` (default not set)
* Specifies the desired chunk size (instead of the number of chunks).
* The options `chunksize` and `nchunks`/`ntasks` are **mutually exclusive** (only one may be a positive integer).
- `split::OhMyThreads.Split` (default `OhMyThreads.Consecutive()`):
- `split::Union{Symbol, OhMyThreads.Split}` (default `OhMyThreads.Consecutive()`):
* Determines how the collection is divided into chunks (if chunking=true). By default, each chunk consists of contiguous elements and order is maintained.
* See [ChunkSplitters.jl](https://github.com/JuliaFolds2/ChunkSplitters.jl) for more details and available options.
* Beware that for `split=OhMyThreads.RoundRobin()` the order of elements isn't maintained and a reducer function must not only be associative but also **commutative**!
Expand Down

0 comments on commit 7831b72

Please sign in to comment.