1
1

Create new error message so we can better pinpoint where an error occurs.

This commit was SVN r32303.
Этот коммит содержится в:
Rolf vandeVaart 2014-07-24 15:18:55 +00:00
родитель fa09477fdf
Коммит 9bc8fbaefd
2 изменённых файлов: 7 добавлений и 1 удалений

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

@ -719,7 +719,7 @@ static int mca_common_cuda_stage_three_init(void)
if (res != CUDA_SUCCESS) { if (res != CUDA_SUCCESS) {
/* If registering the memory fails, print a message and continue. /* If registering the memory fails, print a message and continue.
* This is not a fatal error. */ * This is not a fatal error. */
opal_show_help("help-mpi-common-cuda.txt", "cuMemHostRegister failed", opal_show_help("help-mpi-common-cuda.txt", "cuMemHostRegister during init failed",
true, mem_reg->ptr, mem_reg->amount, true, mem_reg->ptr, mem_reg->amount,
ompi_process_info.nodename, res, mem_reg->msg); ompi_process_info.nodename, res, mem_reg->msg);
} else { } else {

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

@ -36,6 +36,12 @@ ensure that there is a CUDA context prior to calling MPI_Init.
NOTE: You can turn off this warning by setting the MCA parameter NOTE: You can turn off this warning by setting the MCA parameter
mpi_common_cuda_warning to 0. mpi_common_cuda_warning to 0.
# #
[cuMemHostRegister during init failed]
The call to cuMemHostRegister(%p, %d, 0) failed.
Host: %s
cuMemHostRegister return value: %d
Memory Pool: %s
#
[cuMemHostRegister failed] [cuMemHostRegister failed]
The call to cuMemHostRegister(%p, %d, 0) failed. The call to cuMemHostRegister(%p, %d, 0) failed.
Host: %s Host: %s