1
1

Make sure initialization happens

Этот коммит содержится в:
rolfv 2014-11-07 11:00:45 -08:00
родитель e7c59e3adb
Коммит cbb43d5ac3
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -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_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 (NULL == opal_process_info.job_session_dir) {
/* 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 */
#if OPAL_CUDA_SUPPORT
mca_common_cuda_stage_one_init();
#endif /* OPAL_CUDA_SUPPORT */
return btls;
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_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 (NULL == opal_process_info.job_session_dir) {
/* SKG - this isn't true anymore. Some backing facilities don't require a