Skip to content

Commit

Permalink
man/fi_endpoint: regulate the usage of optname
Browse files Browse the repository at this point in the history
FI_OPT_SHARED_MEMORY_PERMITTED is used to enforce
an endpoint to NOT use shm in the data transfer.
It should only apply to the fi_setopt call, in
the same model of FI_OPT_CUDA_API_PERMITTED.

Signed-off-by: Shi Jin <sjina@amazon.com>
  • Loading branch information
shijin-aws committed Jan 20, 2025
1 parent ca0758b commit 950fb1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/fi_endpoint.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ The following option levels and option names and parameters are defined.
All providers that support FI_HMEM capability implement this option.
- *FI_OPT_SHARED_MEMORY_PERMITTED - bool*
: This option controls the use of shared memory for intra-node communication.
: This option only applies to the fi_setopt call.
This option controls the use of shared memory for intra-node communication.
Setting it to true will allow the use of shared memory. When set to false,
shared memory will not be used and the implementation of intra-node communication
is provider dependent.
Expand Down

0 comments on commit 950fb1b

Please sign in to comment.