-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api): replace addr+len pairs with MRs
Immediately on any top-level NCCL call, construct an immutable nccl_ofi_mr_input_t on the stack, then pass that to communicator regmr implementations. Add a flags argument to internal regmr functions such that the input can be inspected and may add FI_MR_DMABUF if the input arguments correspond to a file descriptor. Implement top-level nccl_net_ofi_regMr in terms of nccl_net_ofi_regMrDmaBuf, simply forwarding arguments alongside an invalid file descriptor (-1) and a zero offset. DMA-BUF remains unsupported as of this commit, but only due to not advertising support back to NCCL/nccom. Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
- Loading branch information
1 parent
448b311
commit a0c1dfe
Showing
4 changed files
with
118 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.