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

fabric: Add fi_hmem_attr to fi_info #10400

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

Commits on Sep 18, 2024

  1. fabric: Add fi_hmem_attr to fi_info

    FI_HMEM is only an on/off capability bit but there are more
    specific capabilities. Add fi_hmem_attr to fi_info to provide
    better control over:
    - whether device API calls are permitted in libfabric, except for
    FI_HMEM initialization.
    - whether peer to peer transfers should be used.
    - whether optimized memcpy for device memory should be used.
    
    Signed-off-by: Jessie Yang <[email protected]>
    jiaxiyan committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    0b85f7e View commit details
    Browse the repository at this point in the history
  2. fabric: Add support for fi_hmem_attr to fi_dupinfo/fi_freeinfo

    Duplicate and free the fi_hmem_attr data if present.
    
    Signed-off-by: Jessie Yang <[email protected]>
    jiaxiyan committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    bdb7fcc View commit details
    Browse the repository at this point in the history
  3. fabric: Add handling for fi_hmem_attr to fi_tostr

    Print fi_hmem_attr when passing fi_into to fi_tostr.
    
    Signed-off-by: Jessie Yang <[email protected]>
    jiaxiyan committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    fcb5ac4 View commit details
    Browse the repository at this point in the history
  4. prov/util: Add check fi_hmem_attr and alter fi_hmem_attr

    Check FI_HMEM is set in caps when using fi_hmem_attr, and user do
    not request attributes against what prov can offer.
    Add alter fi_hmem_attr.
    
    Signed-off-by: Jessie Yang <[email protected]>
    jiaxiyan committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b26e5fe View commit details
    Browse the repository at this point in the history
  5. man: Add fi_hmem_attr to fi_info

    Update man pages for fi_hmem_attr.
    
    Signed-off-by: Jessie Yang <[email protected]>
    jiaxiyan committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c7c8cd1 View commit details
    Browse the repository at this point in the history