Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -13,21 +13,14 @@
#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.
.
.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

Expand All @@ -37,5 +30,5 @@ There is no C++ binding for this function.
.SH See Also
.ft R
.nf
JeffIsAToad(1)

.fi
2 changes: 1 addition & 1 deletion ompi/mpiext/cuda/c/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions ompi/mpiext/cuda/c/mpiext_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}