Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 296f09f

Browse files
author
rhc54
committed
Merge pull request #984 from hjelmn/v1.10_osc
osc/pt2pt: add barrier for fence no-precede case
2 parents dfcf58e + 35594b0 commit 296f09f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/osc/pt2pt/osc_pt2pt_active_target.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* University of Stuttgart. All rights reserved.
99
* Copyright (c) 2004-2005 The Regents of the University of California.
1010
* All rights reserved.
11-
* Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights
11+
* Copyright (c) 2007-2016 Los Alamos National Security, LLC. All rights
1212
* reserved.
1313
* Copyright (c) 2010 IBM Corporation. All rights reserved.
1414
* Copyright (c) 2012-2013 Sandia National Laboratories. All rights reserved.
@@ -124,6 +124,7 @@ ompi_osc_pt2pt_fence(int assert, ompi_win_t *win)
124124

125125
/* short-circuit the noprecede case */
126126
if (0 != (assert & MPI_MODE_NOPRECEDE)) {
127+
module->comm->c_coll.coll_barrier (module->comm, module->comm->c_coll.coll_barrier_module);
127128
OPAL_OUTPUT_VERBOSE((50, ompi_osc_base_framework.framework_output,
128129
"osc pt2pt: fence end (short circuit)"));
129130
return ret;

0 commit comments

Comments
 (0)