-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update some parallel documentation #5515
Conversation
\snippet Test_DetectHangArray.cpp deadlock_analysis_function | ||
|
||
If this function is specified in the metavariables and a deadlock occurs, this | ||
function and all the simple actions in it will run. The information printed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by "simple actions in [a function]"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function named run_deadlock_analysis_simple_actions
calls simple actions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, yeah, I guess that should have been clear if I'd paid more attention.
@@ -806,15 +806,15 @@ will be invoked; in this case the callback function re-runs | |||
\snippet Test_AlgorithmGlobalCache.cpp check_mutable_cache_item_is_ready | |||
|
|||
Note that `Parallel::mutable_cache_item_is_ready` is called on a local | |||
core and does no parallel communication. | |||
node and does no parallel communication. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the local node". (There's only one.)
docs/DevGuide/Parallelization.md
Outdated
|
||
### 2. Retrieving the item | ||
|
||
The item is retrieved using `Parallel::get` just like for constant items. | ||
For example, to retrieve the item `Tags::VectorOfDoubles`: | ||
\snippet Test_AlgorithmGlobalCache.cpp retrieve_mutable_cache_item | ||
|
||
Note that `Parallel::get` is called on a local core and does no | ||
Note that `Parallel::get` is called on a local node and does no |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the" again.
cba6c8e
to
85cf806
Compare
Squashed the "the"s. |
Proposed changes
Some of it was out of date. Also added some info and warnings.
Upgrade instructions
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.Further comments