Prevent forward events from overtaking cancel events. #123
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add compile time option to stop sending of events from a PE if a cancel event is
being held for its corresponding forward event from being sent.
cmake option: PRIORITIZE_CANCEL_EVENTS
default value: OFF
This is still no fool-proof because on the receive side, MPI_Testsome may
succeed for events sent later. However, for small messages that ROSS usually
sends (<1 KB), this is unlikely.
Change-Id: I2800a2a6d3537317c6182047ff0beeb3ba238037
@mmubarak - you may be interested in this.
If this merge represents a feature addition to ROSS, the following items must be completed before the branch will be merged:
Include a link to your blog post in the Pull Request.