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

mpi/misc: Add support for GPU memory allocation kinds #6947

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

Commits on Mar 15, 2024

  1. mpi/misc: Move GPU query support implementation to MPIR layer

    There is a use-case for this function to be called during MPI init in
    support the memory allocation kinds feature. Add an MPIR function which
    bypasses the MPI initialized check.
    raffenet committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    d60d231 View commit details
    Browse the repository at this point in the history
  2. mpi/misc: Add GPU memory allocation kinds

    Add support for querying GPU memory kinds as specified by the current
    draft of the MPI Memory Allocation Kinds side
    document (https://github.com/mpi-forum/mem-alloc).
    raffenet committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    2391541 View commit details
    Browse the repository at this point in the history
  3. test/mpich: Update memory alloc kinds test

    With the addition of CUDA kinds as supported memory allocation kinds, we
    need to tweak our verification logic slightly. As of today, unless
    requested by the user, MPICH will always add GPU-related memory kinds at
    the end of the supported string. Therefore we just check our expected
    string against the beginning of the returned value using strncmp.
    raffenet committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    226e9a2 View commit details
    Browse the repository at this point in the history