Use an MCA param for teg's priority
This commit was SVN r5534.
Этот коммит содержится в:
родитель
c13c802944
Коммит
2e83004126
@ -54,6 +54,8 @@ struct mca_pml_teg_t {
|
||||
ompi_list_t teg_procs;
|
||||
ompi_mutex_t teg_lock;
|
||||
|
||||
int teg_priority;
|
||||
|
||||
int teg_free_list_num; /* initial size of free list */
|
||||
int teg_free_list_max; /* maximum size of free list */
|
||||
int teg_free_list_inc; /* number of elements to grow free list */
|
||||
|
@ -101,6 +101,8 @@ int mca_pml_teg_component_open(void)
|
||||
mca_pml_teg_param_register_int("free_list_inc", 256);
|
||||
mca_pml_teg.teg_poll_iterations =
|
||||
mca_pml_teg_param_register_int("poll_iterations", 100000);
|
||||
mca_pml_teg.teg_priority =
|
||||
mca_pml_teg_param_register_int("priority", 0);
|
||||
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
@ -145,7 +147,7 @@ mca_pml_base_module_t* mca_pml_teg_component_init(int* priority,
|
||||
{
|
||||
uint32_t proc_arch;
|
||||
int rc;
|
||||
*priority = 0;
|
||||
*priority = mca_pml_teg.teg_priority;
|
||||
|
||||
/* recv requests */
|
||||
ompi_free_list_init(
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user