1
1

Some minor cleanup and renaming of query function.

Этот коммит содержится в:
Rolf vandeVaart 2015-07-08 10:17:35 -04:00
родитель c6bb227073
Коммит 6372baa7b9
3 изменённых файлов: 8 добавлений и 13 удалений

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

@ -4,7 +4,7 @@
.\" Copyright (c) 2015 NVIDIA, Inc. All rights reserved.
.TH MPIx_CUDA_SUPPORT 3 "#OMPI_DATE#" "#PACKAGE_VERSION#" "#PACKAGE_NAME#"
.SH NAME
\fBMPIx_CUDA_SUPPORT\fP \- Obtain prettyprint strings of processor affinity information for this process
\fBMPIX_Query_cuda_support\fP \- Returns 1 if there is CUDA aware support and 0 if there is not.
.SH SYNTAX
.ft R
@ -13,7 +13,7 @@
#include <mpi.h>
#include <mpi-ext.h>
int MPIx_CUDA_SUPPORT(void)
int MPIX_Query_cuda_support(void)
.fi
.SH Fortran Syntax
There is no Fortran binding for this function.
@ -21,13 +21,6 @@ There is no Fortran binding for this function.
.SH C++ Syntax
There is no C++ binding for this function.
.
.SH INPUT PARAMETERS
.ft R
.
.SH OUTPUT PARAMETERS
.ft R
.TP 1i
.SH DESCRIPTION
.ft R
@ -37,5 +30,5 @@ There is no C++ binding for this function.
.SH See Also
.ft R
.nf
JeffIsAToad(1)
.fi

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

@ -39,7 +39,7 @@ libmpiext_cuda_c_la_SOURCES = \
libmpiext_cuda_c_la_LDFLAGS = -module -avoid-version
# Man page installation
nodist_man_MANS = MPIx_CUDA_SUPPORT.3
nodist_man_MANS = MPIX_Query_cuda_support.3
# Man page sources
EXTRA_DIST = $(nodist_man_MANS:.3=.3in)

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

@ -23,7 +23,9 @@
#include "opal/constants.h"
#include "ompi/mpiext/cuda/c/mpiext_cuda_c.h"
int MPIx_CUDA_SUPPORT(void)
/* The fact that this code is configured and compiled means that we have CUDA aware
support. We may expand on this API to return more features in the future. */
int MPIX_Query_cuda_support(void)
{
return OPAL_ERR_NOT_SUPPORTED;
return OMPI_SUCCESS;
}