Merge pull request #1824 from hjelmn/rdmacm_fix
btl/openib: fix segmentation fault
Этот коммит содержится в:
Коммит
f18d6606da
@ -3771,7 +3771,9 @@ static int btl_openib_component_progress(void)
|
|||||||
for(i = 0; i < mca_btl_openib_component.devices_count; i++) {
|
for(i = 0; i < mca_btl_openib_component.devices_count; i++) {
|
||||||
mca_btl_openib_device_t *device =
|
mca_btl_openib_device_t *device =
|
||||||
(mca_btl_openib_device_t *) opal_pointer_array_get_item(&mca_btl_openib_component.devices, i);
|
(mca_btl_openib_device_t *) opal_pointer_array_get_item(&mca_btl_openib_component.devices, i);
|
||||||
count += progress_one_device(device);
|
if (NULL != device) {
|
||||||
|
count += progress_one_device(device);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if OPAL_CUDA_SUPPORT /* CUDA_ASYNC_SEND */
|
#if OPAL_CUDA_SUPPORT /* CUDA_ASYNC_SEND */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user