Skip to content

Commit 77df94d

Browse files
authored
Merge pull request #7398 from yanagibashi/pr/fix-info-key-object
osc/sm: fix typo and minor correction
2 parents cb0bc20 + a07a83d commit 77df94d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/mca/osc/sm/osc_sm_component.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* reserved.
1313
* Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
1414
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
15+
* Copyright (c) 2020 FUJITSU LIMITED. All rights reserved.
1516
* $COPYRIGHT$
1617
*
1718
* Additional copyrights may follow
@@ -206,7 +207,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit
206207

207208
OBJ_CONSTRUCT(&module->lock, opal_mutex_t);
208209

209-
ret = opal_infosubscribe_subscribe(&(win->super), "alloc_shared_contig", "false", component_set_alloc_shared_noncontig_info);
210+
ret = opal_infosubscribe_subscribe(&(win->super), "alloc_shared_noncontig", "false", component_set_alloc_shared_noncontig_info);
210211

211212
if (OPAL_SUCCESS != ret) goto error;
212213

@@ -420,7 +421,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit
420421
#endif
421422
}
422423

423-
ret = opal_infosubscribe_subscribe(&(win->super), "blocking_fence", "false",
424+
ret = opal_infosubscribe_subscribe(&(win->super), "blocking_fence", module->global_state->use_barrier_for_fence ? "true" : "false",
424425
component_set_blocking_fence_info);
425426

426427
if (OPAL_SUCCESS != ret) goto error;

0 commit comments

Comments
 (0)