Skip to content

Conversation

@tkordenbrock
Copy link
Member

This commit implements onesided operations for noncontiguous
datatypes using two different algorithms.

  • If the result and/or origin datatype is noncontiguous and the
    target datatype is contiguous, then an iovec MD is created for
    the result and origin. The operation is performed using a
    single Portals4 call (unless it exceeds the max message size).
  • If the target datatype is noncontigous, then an algorithm
    similar to the one in osc-rdma is used to loop over the
    contiguous blocks of each datatype. The operation is
    performed using multiple Portals4 calls.

This commit ensures that individual operations do not exceed the
max atomic size or the max message size supported by the device.

Closes issue #143

(master PR #2986)

@regrant - Please review

This commit implements onesided operations for noncontiguous
datatypes using two different algorithms.

 * If the result and/or origin datatype is noncontiguous and the
   target datatype is contiguous, then an iovec MD is created for
   the result and origin.  The operation is performed using a
   single Portals4 call (unless it exceeds the max message size).
 * If the target datatype is noncontigous, then an algorithm
   similar to the one in osc-rdma is used to loop over the
   contiguous blocks of each datatype.  The operation is
   performed using multiple Portals4 calls.

This commit ensures that individual operations do not exceed the
max atomic size or the max message size supported by the device.

Signed-off-by: Todd Kordenbrock <thkgcode@gmail.com>
(cherry picked from commit 048f757)
Copy link
Contributor

@regrant regrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the work on master, this is approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants