Skip to content

Commit

Permalink
fabtests/rdm_tagged_*: Add test for FI_DIRECTED_RECV
Browse files Browse the repository at this point in the history
Common use of the tagged API uses directed receives.

Signed-off-by: Sean Hefty <[email protected]>
  • Loading branch information
shefty committed Sep 16, 2023
1 parent a893756 commit cbaeab8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fabtests/benchmarks/rdm_tagged_bw.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ int main(int argc, char **argv)

hints->ep_attr->type = FI_EP_RDM;
hints->domain_attr->resource_mgmt = FI_RM_ENABLED;
hints->caps = FI_TAGGED;
hints->caps = FI_TAGGED | FI_DIRECTED_RECV;
hints->mode |= FI_CONTEXT;
hints->domain_attr->mr_mode = opts.mr_mode;
hints->domain_attr->threading = FI_THREAD_DOMAIN;
Expand Down
2 changes: 1 addition & 1 deletion fabtests/benchmarks/rdm_tagged_pingpong.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int main(int argc, char **argv)
opts.dst_addr = argv[optind];

hints->ep_attr->type = FI_EP_RDM;
hints->caps = FI_TAGGED;
hints->caps = FI_TAGGED | FI_DIRECTED_RECV;
hints->mode |= FI_CONTEXT;
hints->domain_attr->mr_mode = opts.mr_mode;
hints->domain_attr->threading = FI_THREAD_DOMAIN;
Expand Down
2 changes: 1 addition & 1 deletion fabtests/functional/rdm_tagged_peek.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ int main(int argc, char **argv)
hints->domain_attr->resource_mgmt = FI_RM_ENABLED;
hints->tx_attr->msg_order = FI_ORDER_SAS;
hints->ep_attr->type = FI_EP_RDM;
hints->caps = FI_TAGGED;
hints->caps = FI_TAGGED | FI_DIRECTED_RECV;
hints->mode = FI_CONTEXT;
hints->domain_attr->mr_mode = opts.mr_mode;
hints->addr_format = opts.address_format;
Expand Down

0 comments on commit cbaeab8

Please sign in to comment.