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

core/hmem: introduce hmem_data field to memory registration #8787

Merged
merged 1 commit into from
Apr 18, 2023

Commits on Apr 18, 2023

  1. core/hmem: introduce hmem_data field to memory registration

    Introduce a wildcard field hmem_data to provide an extension point for
    HMEM interfaces that require additional information to device id.
    
    The immediate use case is to allow different providers to communicate
    the presence of a GDR handle. This is achieved with a companion flag,
    i.e. OFI_HMEM_DATA_GDRCOPY_HANDLE.
    
    Furthermore, this change makes it possible to offload similar operations
    to the user application, e.g. GDR pinning.
    
    Signed-off-by: Wenduo Wang <wenduwan@amazon.com>
    wenduwan committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    b8dc277 View commit details
    Browse the repository at this point in the history