Skip to content

Commit 5acaf70

Browse files
authored
Formatting fix for README
1 parent eccfaf9 commit 5acaf70

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,19 @@ later.
289289

290290
The following primitives can be used in SPMD mode.
291291

292-
`sendto(pid, data; tag=nothing)` - sends `data` to `pid`
293-
`recvfrom(pid; tag=nothing)` - receives data from `pid`
294-
`recvfrom_any(; tag=nothing)` - receives data from any `pid`
295-
`barrier(;pids=procs(), tag=nothing)` - all tasks wait and then proceeed
296-
`bcast(data, pid; tag=nothing, pids=procs())` - broadcasts the same data over `pids` from `pid`
297-
`scatter(x, pid; tag=nothing, pids=procs())` - distributes `x` over `pids` from `pid`
298-
`gather(x, pid; tag=nothing, pids=procs())` - collects data from `pids` onto worker `pid`
292+
- `sendto(pid, data; tag=nothing)` - sends `data` to `pid`
293+
294+
- `recvfrom(pid; tag=nothing)` - receives data from `pid`
295+
296+
- `recvfrom_any(; tag=nothing)` - receives data from any `pid`
297+
298+
- `barrier(;pids=procs(), tag=nothing)` - all tasks wait and then proceeed
299+
300+
- `bcast(data, pid; tag=nothing, pids=procs())` - broadcasts the same data over `pids` from `pid`
301+
302+
- `scatter(x, pid; tag=nothing, pids=procs())` - distributes `x` over `pids` from `pid`
303+
304+
- `gather(x, pid; tag=nothing, pids=procs())` - collects data from `pids` onto worker `pid`
299305

300306
Tag `tag` should be used to differentiate between consecutive calls of the same type, for example,
301307
consecutive `bcast` calls.

0 commit comments

Comments
 (0)