Skip to content

Commit

Permalink
Fix a typo that incorrectly set the alignment threshold in the openib…
Browse files Browse the repository at this point in the history
… BTL.

Thanks to Xavier Besseron for pointing it out
  • Loading branch information
Ralph Castain committed May 25, 2015
1 parent 566505a commit ce915b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opal/mca/btl/openib/btl_openib_mca.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,11 +707,11 @@ int btl_openib_register_mca_params(void)
32, &mca_btl_openib_component.use_memalign,
REGINT_GE_ZERO));

mca_btl_openib_component.memalign_threshold = mca_btl_openib_component.eager_limit;
mca_btl_openib_component.memalign_threshold = mca_btl_openib_module.super.btl_eager_limit;
tmp = mca_base_component_var_register(&mca_btl_openib_component.super.btl_version,
"memalign_threshold",
"Allocating memory more than btl_openib_memalign_threshhold"
"bytes will automatically be algined to the value of btl_openib_memalign bytes."
"bytes will automatically be aligned to the value of btl_openib_memalign bytes."
"memalign_threshhold defaults to the same value as mca_btl_openib_eager_limit.",
MCA_BASE_VAR_TYPE_SIZE_T, NULL, 0, 0,
OPAL_INFO_LVL_9,
Expand Down

0 comments on commit ce915b5

Please sign in to comment.