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: Introduce new inject calls that take buffer descriptor #10433

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 2, 2024

  1. core: Introduce new inject calls that take buffer descriptor

    Existing inject calls (for msg, tagged, rma, and atomic ops) don't provide
    a way to supply the memory descriptor of the data buffer. This presents
    difficulty when FI_HMEM is enabled. Providers either have to detect the
    HMEM interface the buffer is allocated with, or declare the supported
    inject_size be zero. Both may result in sub-optimal application performance.
    
    Here a set of new inject calls are introduced. The difference of the new
    calls vs the corresponding existing calls is the addition of a new
    parameter "desc", like what have already existed in the send calls.
    With the new calls, the provider is able to know the iface of the
    data buffer and handle it properly.
    
    Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
    j-xiong committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    305f9aa View commit details
    Browse the repository at this point in the history