Make sure initialization happens
Этот коммит содержится в:
родитель
e7c59e3adb
Коммит
cbb43d5ac3
@ -734,6 +734,10 @@ mca_btl_sm_component_init(int *num_btls,
|
|||||||
mca_btl_sm_component.sm_mpool = NULL;
|
mca_btl_sm_component.sm_mpool = NULL;
|
||||||
mca_btl_sm_component.sm_mpool_base = NULL;
|
mca_btl_sm_component.sm_mpool_base = NULL;
|
||||||
|
|
||||||
|
#if OPAL_CUDA_SUPPORT
|
||||||
|
mca_common_cuda_stage_one_init();
|
||||||
|
#endif /* OPAL_CUDA_SUPPORT */
|
||||||
|
|
||||||
/* if no session directory was created, then we cannot be used */
|
/* if no session directory was created, then we cannot be used */
|
||||||
if (NULL == opal_process_info.job_session_dir) {
|
if (NULL == opal_process_info.job_session_dir) {
|
||||||
/* SKG - this isn't true anymore. Some backing facilities don't require a
|
/* SKG - this isn't true anymore. Some backing facilities don't require a
|
||||||
@ -927,10 +931,6 @@ mca_btl_sm_component_init(int *num_btls,
|
|||||||
}
|
}
|
||||||
#endif /* OPAL_BTL_SM_HAVE_CMA */
|
#endif /* OPAL_BTL_SM_HAVE_CMA */
|
||||||
|
|
||||||
#if OPAL_CUDA_SUPPORT
|
|
||||||
mca_common_cuda_stage_one_init();
|
|
||||||
#endif /* OPAL_CUDA_SUPPORT */
|
|
||||||
|
|
||||||
return btls;
|
return btls;
|
||||||
|
|
||||||
no_knem:
|
no_knem:
|
||||||
|
@ -845,6 +845,10 @@ mca_btl_smcuda_component_init(int *num_btls,
|
|||||||
mca_btl_smcuda_component.sm_mpool = NULL;
|
mca_btl_smcuda_component.sm_mpool = NULL;
|
||||||
mca_btl_smcuda_component.sm_mpool_base = NULL;
|
mca_btl_smcuda_component.sm_mpool_base = NULL;
|
||||||
|
|
||||||
|
#if OPAL_CUDA_SUPPORT
|
||||||
|
mca_common_cuda_stage_one_init();
|
||||||
|
#endif /* OPAL_CUDA_SUPPORT */
|
||||||
|
|
||||||
/* if no session directory was created, then we cannot be used */
|
/* if no session directory was created, then we cannot be used */
|
||||||
if (NULL == opal_process_info.job_session_dir) {
|
if (NULL == opal_process_info.job_session_dir) {
|
||||||
/* SKG - this isn't true anymore. Some backing facilities don't require a
|
/* SKG - this isn't true anymore. Some backing facilities don't require a
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user