1
1

osc-portals4: fix offset bug in raccumulate()

This commit fixes a bug where the remote offset was used as both
the local and remote offset.

Thanks to @PDeveze for the patch.
Этот коммит содержится в:
Todd Kordenbrock 2016-10-04 09:07:35 -05:00
родитель f3144c7a55
Коммит c536e11cf3

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

@ -514,7 +514,7 @@ ompi_osc_portals4_raccumulate(const void *origin_addr,
OPAL_OUTPUT_VERBOSE((90,ompi_osc_base_framework.framework_output,
"%s,%d Atomic", __FUNCTION__, __LINE__));
ret = PtlAtomic(module->req_md_h,
offset + sent + origin_lb,
md_offset + sent + origin_lb,
msg_length,
PTL_ACK_REQ,
peer,