Set the default value of both barrier counters to zero, thus ensuring the coll/sync component is off by default
Этот коммит содержится в:
родитель
2eec8970ff
Коммит
bcf5ac3971
@ -76,7 +76,7 @@ static int sync_register(void)
|
|||||||
{
|
{
|
||||||
mca_base_component_t *c = &mca_coll_sync_component.super.collm_version;
|
mca_base_component_t *c = &mca_coll_sync_component.super.collm_version;
|
||||||
|
|
||||||
mca_coll_sync_component.priority = 30;
|
mca_coll_sync_component.priority = 50;
|
||||||
(void) mca_base_component_var_register(c, "priority",
|
(void) mca_base_component_var_register(c, "priority",
|
||||||
"Priority of the sync coll component; only relevant if barrier_before or barrier_after is > 0",
|
"Priority of the sync coll component; only relevant if barrier_before or barrier_after is > 0",
|
||||||
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
||||||
@ -84,7 +84,7 @@ static int sync_register(void)
|
|||||||
MCA_BASE_VAR_SCOPE_READONLY,
|
MCA_BASE_VAR_SCOPE_READONLY,
|
||||||
&mca_coll_sync_component.priority);
|
&mca_coll_sync_component.priority);
|
||||||
|
|
||||||
mca_coll_sync_component.barrier_before_nops = 1000;
|
mca_coll_sync_component.barrier_before_nops = 0;
|
||||||
(void) mca_base_component_var_register(c, "barrier_before",
|
(void) mca_base_component_var_register(c, "barrier_before",
|
||||||
"Do a synchronization before each Nth collective",
|
"Do a synchronization before each Nth collective",
|
||||||
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user