Dont forget to set the pointer to the component !!!
This commit was SVN r2075.
Этот коммит содержится в:
родитель
e5164e21e6
Коммит
bdfb889dda
@ -91,6 +91,7 @@ static struct mca_ptl_base_module_t** ptl_prof_component_init_fn(
|
||||
*have_hidden_threads = false;
|
||||
ptl_array = (mca_ptl_prof_t**)malloc( (*num_ptls) * sizeof(mca_ptl_prof_t*) );
|
||||
ptl_array[0] = &mca_ptl_prof;
|
||||
mca_ptl_prof.super.ptl_component = (mca_ptl_base_component_t*)&mca_ptl_prof_component;
|
||||
mca_ptl_prof_component.prof_ptls = ptl_array;
|
||||
return (struct mca_ptl_base_module_t**)ptl_array;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user