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

mpix: add MPIX_Query_pointer_attr #7049

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

Commits on Jul 9, 2024

  1. mpl/gpu: change MPL_gpu_device_handle_t to int

    The abstraction of device id as an integer is a good abstraction above
    MPL. The opaqueness of MPL_gpu_device_handle_t, on the other hand, makes
    it useless, since the upperlayer can't do anything with it.
    
    For ZE, simply expose the internal device id. For new GPU runtimes that
    does support integer device ids, we can similarly do a map as in
    mpl_gpu_ze.c.
    hzhou committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    842f4cf View commit details
    Browse the repository at this point in the history
  2. mpix: add MPIX_Query_pointer_attr

    It is not always easy to check what kind of memory type user has as seen
    by MPI. For example, a memory from a Python library. Add
    MPIX_Query_pointer_attr for the debugging purpose.
    hzhou committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    4057593 View commit details
    Browse the repository at this point in the history