1
1

mtl/ofi: Require proper ordering by OFI provider.

Этот коммит содержится в:
yohann 2015-08-14 16:23:10 -07:00
родитель 652a685e78
Коммит 98b300e1bb

Просмотреть файл

@ -222,6 +222,7 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
* ep_type: reliable datagram operation * ep_type: reliable datagram operation
* caps: Capabilities required from the provider. * caps: Capabilities required from the provider.
* Tag matching is specified to implement MPI semantics. * Tag matching is specified to implement MPI semantics.
* msg_order: Guarantee that messages with same tag are ordered.
*/ */
hints = fi_allocinfo(); hints = fi_allocinfo();
if (!hints) { if (!hints) {
@ -233,6 +234,8 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
hints->mode = FI_CONTEXT; hints->mode = FI_CONTEXT;
hints->ep_attr->type = FI_EP_RDM; /* Reliable datagram */ hints->ep_attr->type = FI_EP_RDM; /* Reliable datagram */
hints->caps = FI_TAGGED; /* Tag matching interface */ hints->caps = FI_TAGGED; /* Tag matching interface */
hints->tx_attr->msg_order = FI_ORDER_SAS;
hints->rx_attr->msg_order = FI_ORDER_SAS;
/** /**
* Refine filter for additional capabilities * Refine filter for additional capabilities