Skip to content

Commit 2bd0a69

Browse files
authored
Update index.md
- Changed "the the" to "the" - Changed "which is not probably what we want" to "which is probably not what we want"
1 parent dcae31f commit 2bd0a69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/src/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ on the node that created it.
405405

406406
Nested `spmd` calls
407407
-------------------
408-
As `spmd` executes the the specified function on all participating nodes, we need to be careful with nesting `spmd` calls.
408+
As `spmd` executes the specified function on all participating nodes, we need to be careful with nesting `spmd` calls.
409409

410410
An example of an unsafe(wrong) way:
411411
```julia
@@ -451,6 +451,6 @@ function foo(d::DArray)
451451
end
452452
spmd(foo,....)
453453
```
454-
Without the `myid()` check, the `spmd` call to `foo` would execute `map!` from all nodes, which is not what we probably want.
454+
Without the `myid()` check, the `spmd` call to `foo` would execute `map!` from all nodes, which is probably not what we want.
455455

456456
Similarly `@everywhere` from within a SPMD run should also be driven from the master node only.

0 commit comments

Comments
 (0)