1
1

Implement CUDA-aware workaround while fork support worked out

Этот коммит содержится в:
Rolf vandeVaart 2015-03-03 09:50:01 -05:00
родитель 375611505b
Коммит edf58eb549

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

@ -790,6 +790,7 @@ int btl_openib_verify_mca_params (void)
} else { } else {
mca_btl_openib_module.super.btl_flags &= ~MCA_BTL_FLAGS_CUDA_COPY_ASYNC_RECV; mca_btl_openib_module.super.btl_flags &= ~MCA_BTL_FLAGS_CUDA_COPY_ASYNC_RECV;
} }
#if 0 /* Disable this check for now while fork support code is worked out.
/* Cannot have fork support and GDR on at the same time. If the user asks for both, /* Cannot have fork support and GDR on at the same time. If the user asks for both,
* then print a message and return error. If the user does not explicitly ask for * then print a message and return error. If the user does not explicitly ask for
* fork support, then turn it off in the presence of GDR. */ * fork support, then turn it off in the presence of GDR. */
@ -801,6 +802,7 @@ int btl_openib_verify_mca_params (void)
return OPAL_ERR_BAD_PARAM; return OPAL_ERR_BAD_PARAM;
} }
} }
#endif /* Workaround */
#endif #endif
#if BTL_OPENIB_MALLOC_HOOKS_ENABLED #if BTL_OPENIB_MALLOC_HOOKS_ENABLED