osc/sm: fix typo and minor correction
- fix a typo `alloc_shared_contig` to `alloc_shared_noncontig` - correct the value of `blocking_fence` Signed-off-by: Tsubasa Yanagibashi <fj2505dt@aa.jp.fujitsu.com>
Этот коммит содержится в:
родитель
cb0bc201f3
Коммит
a07a83d189
@ -12,6 +12,7 @@
|
|||||||
* reserved.
|
* reserved.
|
||||||
* Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
|
* Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
|
||||||
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
|
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
|
||||||
|
* Copyright (c) 2020 FUJITSU LIMITED. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -206,7 +207,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit
|
|||||||
|
|
||||||
OBJ_CONSTRUCT(&module->lock, opal_mutex_t);
|
OBJ_CONSTRUCT(&module->lock, opal_mutex_t);
|
||||||
|
|
||||||
ret = opal_infosubscribe_subscribe(&(win->super), "alloc_shared_contig", "false", component_set_alloc_shared_noncontig_info);
|
ret = opal_infosubscribe_subscribe(&(win->super), "alloc_shared_noncontig", "false", component_set_alloc_shared_noncontig_info);
|
||||||
|
|
||||||
if (OPAL_SUCCESS != ret) goto error;
|
if (OPAL_SUCCESS != ret) goto error;
|
||||||
|
|
||||||
@ -420,7 +421,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = opal_infosubscribe_subscribe(&(win->super), "blocking_fence", "false",
|
ret = opal_infosubscribe_subscribe(&(win->super), "blocking_fence", module->global_state->use_barrier_for_fence ? "true" : "false",
|
||||||
component_set_blocking_fence_info);
|
component_set_blocking_fence_info);
|
||||||
|
|
||||||
if (OPAL_SUCCESS != ret) goto error;
|
if (OPAL_SUCCESS != ret) goto error;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user