Skip to content
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

ch4/am: Caching buffer attribute in request and use typerep fast path for H2H #7082

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Aug 1, 2024

  1. typerep: add fastpath for H2H typerep copy/pack/unpack

    Add new flag MPIR_TYPEREP_FLAG_H2H can be passed to choose this path.
    If typerep user knows the buffers are all host, they can using this
    to bypass buffer attribute checking and related branches.
    
    This can be useful for SHM pipelined transfer where send/recv buffer
    attribute can be cached in request.
    yfguo committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    0f74170 View commit details
    Browse the repository at this point in the history
  2. mpl/gpu: make pointer attribute type flag like

    The checking on whether a buffer is on host can be simplified to one
    check because the enum of unregistered host and registered host can
    be combined.
    yfguo committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    85ce189 View commit details
    Browse the repository at this point in the history
  3. mpl/gpu: code format cleanup

    yfguo committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    b75dc37 View commit details
    Browse the repository at this point in the history
  4. ch4/mpidig: cache destination buffer attribute in request

    We check and cache the recv buffer attribute when posting recv request.
    This info is used to use the H2H fast path in typerep.
    yfguo committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    174033a View commit details
    Browse the repository at this point in the history
  5. ch4/shm: add fast path for host buffer

    Check if source buffer is on host and choose typerep fast path for H2H.
    yfguo committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    c4d1e02 View commit details
    Browse the repository at this point in the history