Sophie

Sophie

distrib > Mageia > 7 > x86_64 > media > nonfree-updates > by-pkgid > b86a85131cc739c1c53d0b55840a4328 > files > 3753

nvidia-cuda-toolkit-devel-10.1.168-1.2.mga7.nonfree.x86_64.rpm

.TH "Version Management" 3 "24 Apr 2019" "Version 6.0" "Doxygen" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Version Management \- 
.SS "Functions"

.in +1c
.ti -1c
.RI "\fBcudaError_t\fP \fBcudaDriverGetVersion\fP (int *driverVersion)"
.br
.RI "\fIReturns the latest version of CUDA supported by the driver. \fP"
.ti -1c
.RI "__cudart_builtin__ \fBcudaError_t\fP \fBcudaRuntimeGetVersion\fP (int *runtimeVersion)"
.br
.RI "\fIReturns the CUDA Runtime version. \fP"
.in -1c
.SH "Function Documentation"
.PP 
.SS "\fBcudaError_t\fP cudaDriverGetVersion (int * driverVersion)"
.PP
Returns in \fC*driverVersion\fP the latest version of CUDA supported by the driver. The version is returned as (1000  major + 10  minor). For example, CUDA 9.2 would be represented by 9020. If no driver is installed, then 0 is returned as the driver version.
.PP
This function automatically returns \fBcudaErrorInvalidValue\fP if \fCdriverVersion\fP is NULL.
.PP
\fBParameters:\fP
.RS 4
\fIdriverVersion\fP - Returns the CUDA driver version.
.RE
.PP
\fBReturns:\fP
.RS 4
\fBcudaSuccess\fP, \fBcudaErrorInvalidValue\fP 
.RE
.PP
\fBNote:\fP
.RS 4
Note that this function may also return error codes from previous, asynchronous launches.  
.RE
.PP
\fBSee also:\fP
.RS 4
\fBcudaRuntimeGetVersion\fP, cuDriverGetVersion 
.RE
.PP

.SS "__cudart_builtin__ \fBcudaError_t\fP cudaRuntimeGetVersion (int * runtimeVersion)"
.PP
Returns in \fC*runtimeVersion\fP the version number of the current CUDA Runtime instance. The version is returned as (1000  major + 10  minor). For example, CUDA 9.2 would be represented by 9020.
.PP
This function automatically returns \fBcudaErrorInvalidValue\fP if the \fCruntimeVersion\fP argument is NULL.
.PP
\fBParameters:\fP
.RS 4
\fIruntimeVersion\fP - Returns the CUDA Runtime version.
.RE
.PP
\fBReturns:\fP
.RS 4
\fBcudaSuccess\fP, \fBcudaErrorInvalidValue\fP  
.RE
.PP
\fBSee also:\fP
.RS 4
\fBcudaDriverGetVersion\fP, cuDriverGetVersion 
.RE
.PP

.SH "Author"
.PP 
Generated automatically by Doxygen from the source code.