Fix help message errors as reported by check-help-strings.pl script.
cmr=v1.8.2:reviewer=jsquyres This commit was SVN r31555.
Этот коммит содержится в:
родитель
ca77a1a37d
Коммит
fc0a75da91
@ -302,7 +302,7 @@ int mca_common_cuda_stage_one_init(void)
|
||||
/* Use this flag to test cuMemcpyAsync vs cuMemcpy */
|
||||
mca_common_cuda_cumemcpy_async = 0;
|
||||
(void) mca_base_var_register("ompi", "mpi", "common_cuda", "cumemcpy_async",
|
||||
"Set to 0 to force CUDA cuMemcpy instead of cuMemcpyAsync/cuEventRecord/cuEventSynchronize",
|
||||
"Set to 0 to force CUDA cuMemcpy instead of cuMemcpyAsync/cuStreamSynchronize",
|
||||
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
||||
OPAL_INFO_LVL_5,
|
||||
MCA_BASE_VAR_SCOPE_READONLY,
|
||||
@ -579,7 +579,7 @@ static int mca_common_cuda_stage_three_init(void)
|
||||
cuda_event_ipc_array = (CUevent *) malloc(sizeof(CUevent) * cuda_event_max);
|
||||
if (NULL == cuda_event_ipc_array) {
|
||||
opal_show_help("help-mpi-common-cuda.txt", "No memory",
|
||||
true, errno, strerror(errno));
|
||||
true, ompi_process_info.nodename);
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
|
||||
@ -599,7 +599,7 @@ static int mca_common_cuda_stage_three_init(void)
|
||||
malloc(sizeof(struct mca_btl_base_descriptor_t *) * cuda_event_max);
|
||||
if (NULL == cuda_event_ipc_frag_array) {
|
||||
opal_show_help("help-mpi-common-cuda.txt", "No memory",
|
||||
true, errno, strerror(errno));
|
||||
true, ompi_process_info.nodename);
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
}
|
||||
@ -617,7 +617,7 @@ static int mca_common_cuda_stage_three_init(void)
|
||||
cuda_event_dtoh_array = (CUevent *) malloc(sizeof(CUevent) * cuda_event_max);
|
||||
if (NULL == cuda_event_dtoh_array) {
|
||||
opal_show_help("help-mpi-common-cuda.txt", "No memory",
|
||||
true, errno, strerror(errno));
|
||||
true, ompi_process_info.nodename);
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
|
||||
@ -637,7 +637,7 @@ static int mca_common_cuda_stage_three_init(void)
|
||||
malloc(sizeof(struct mca_btl_base_descriptor_t *) * cuda_event_max);
|
||||
if (NULL == cuda_event_dtoh_frag_array) {
|
||||
opal_show_help("help-mpi-common-cuda.txt", "No memory",
|
||||
true, errno, strerror(errno));
|
||||
true, ompi_process_info.nodename);
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
|
||||
@ -652,7 +652,7 @@ static int mca_common_cuda_stage_three_init(void)
|
||||
cuda_event_htod_array = (CUevent *) malloc(sizeof(CUevent) * cuda_event_max);
|
||||
if (NULL == cuda_event_htod_array) {
|
||||
opal_show_help("help-mpi-common-cuda.txt", "No memory",
|
||||
true, errno, strerror(errno));
|
||||
true, ompi_process_info.nodename);
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
|
||||
@ -672,7 +672,7 @@ static int mca_common_cuda_stage_three_init(void)
|
||||
malloc(sizeof(struct mca_btl_base_descriptor_t *) * cuda_event_max);
|
||||
if (NULL == cuda_event_htod_frag_array) {
|
||||
opal_show_help("help-mpi-common-cuda.txt", "No memory",
|
||||
true, errno, strerror(errno));
|
||||
true, ompi_process_info.nodename);
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
}
|
||||
@ -1656,7 +1656,7 @@ static int mca_common_cuda_cu_memcpy(void *dest, const void *src, size_t size)
|
||||
result = cuFunc.cuMemcpy((CUdeviceptr)dest, (CUdeviceptr)src, size);
|
||||
if (OPAL_UNLIKELY(CUDA_SUCCESS != result)) {
|
||||
opal_show_help("help-mpi-common-cuda.txt", "cuMemcpy failed",
|
||||
true, result);
|
||||
true, ompi_process_info.nodename, result);
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
}
|
||||
|
@ -185,13 +185,6 @@ continue, but report this error to the Open MPI developers.
|
||||
Address: %p
|
||||
Check the cuda.h file for what the return value means.
|
||||
#
|
||||
[cuEventSynchronize failed]
|
||||
The call to cuEventSynchronize failed. This is highly unusual and should
|
||||
not happen. Please report this error to the Open MPI developers.
|
||||
Hostname: %s
|
||||
cuEventSynchronize return value: %d
|
||||
Check the cuda.h file for what the return value means.
|
||||
#
|
||||
[cuStreamSynchronize failed]
|
||||
The call to cuStreamSynchronize failed. This is highly unusual and should
|
||||
not happen. Please report this error to the Open MPI developers.
|
||||
@ -199,3 +192,14 @@ not happen. Please report this error to the Open MPI developers.
|
||||
cuStreamSynchronize return value: %d
|
||||
Check the cuda.h file for what the return value means.
|
||||
#
|
||||
[cuMemcpy failed]
|
||||
The call to cuMemcpy failed. This is highly unusual and should
|
||||
not happen. Please report this error to the Open MPI developers.
|
||||
Hostname: %s
|
||||
cuMemcpy return value: %d
|
||||
Check the cuda.h file for what the return value means.
|
||||
#
|
||||
[No memory]
|
||||
A call to allocate memory within the CUDA support failed. This is
|
||||
an unrecoverable error and will cause the program to abort.
|
||||
Hostname: %s
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user