File tree Expand file tree Collapse file tree 3 files changed +8
-13
lines changed Expand file tree Collapse file tree 3 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 44.\" Copyright (c) 2015 NVIDIA, Inc. All rights reserved.
55.TH MPIx_CUDA_SUPPORT 3 "#OMPI_DATE#" "#PACKAGE_VERSION#" "#PACKAGE_NAME#"
66.SH NAME
7- \fB MPIx_CUDA_SUPPORT \fP \- Obtain prettyprint strings of processor affinity information for this process
7+ \fB MPIX_Query_cuda_support \fP \- Returns 1 if there is CUDA aware support and 0 if there is not.
88
99.SH SYNTAX
1010.ft R
1313#include <mpi.h>
1414#include <mpi-ext.h>
1515
16- int MPIx_CUDA_SUPPORT (void)
16+ int MPIX_Query_cuda_support (void)
1717.fi
1818.SH Fortran Syntax
1919There is no Fortran binding for this function.
2020.
2121.SH C++ Syntax
2222There is no C++ binding for this function.
2323.
24- .SH INPUT PARAMETERS
25- .ft R
26- .
27- .SH OUTPUT PARAMETERS
28- .ft R
29- .TP 1i
30-
3124.SH DESCRIPTION
3225.ft R
3326
@@ -37,5 +30,5 @@ There is no C++ binding for this function.
3730.SH See Also
3831.ft R
3932.nf
40- JeffIsAToad(1)
33+
4134.fi
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ libmpiext_cuda_c_la_SOURCES = \
3939libmpiext_cuda_c_la_LDFLAGS = -module -avoid-version
4040
4141# Man page installation
42- nodist_man_MANS = MPIx_CUDA_SUPPORT .3
42+ nodist_man_MANS = MPIX_Query_cuda_support .3
4343
4444# Man page sources
4545EXTRA_DIST = $(nodist_man_MANS:.3=.3in )
Original file line number Diff line number Diff line change 2323#include "opal/constants.h"
2424#include "ompi/mpiext/cuda/c/mpiext_cuda_c.h"
2525
26- int MPIx_CUDA_SUPPORT (void )
26+ /* The fact that this code is configured and compiled means that we have CUDA aware
27+ support. We may expand on this API to return more features in the future. */
28+ int MPIX_Query_cuda_support (void )
2729{
28- return OPAL_ERR_NOT_SUPPORTED ;
30+ return OMPI_SUCCESS ;
2931}
You can’t perform that action at this time.
0 commit comments