Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > nonfree-updates > by-pkgid > fd8445e7e4d58b8cfe6e0150bd441ee1 > files > 1867

nvidia-cuda-toolkit-devel-6.5.14-6.1.mga5.nonfree.x86_64.rpm

.TH "Initialization" 3 "7 Aug 2014" "Version 6.0" "Doxygen" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Initialization \- 
.SS "Functions"

.in +1c
.ti -1c
.RI "\fBCUresult\fP \fBcuInit\fP (unsigned int Flags)"
.br
.RI "\fIInitialize the CUDA driver API. \fP"
.in -1c
.SH "Detailed Description"
.PP 
\\brief initialization functions of the low-level CUDA driver API (\fBcuda.h\fP)
.PP
This section describes the initialization functions of the low-level CUDA driver application programming interface. 
.SH "Function Documentation"
.PP 
.SS "\fBCUresult\fP cuInit (unsigned int Flags)"
.PP
Initializes the driver API and must be called before any other function from the driver API. Currently, the \fCFlags\fP parameter must be 0. If \fBcuInit()\fP has not been called, any function from the driver API will return \fBCUDA_ERROR_NOT_INITIALIZED\fP.
.PP
\fBParameters:\fP
.RS 4
\fIFlags\fP - Initialization flag for CUDA.
.RE
.PP
\fBReturns:\fP
.RS 4
\fBCUDA_SUCCESS\fP, \fBCUDA_ERROR_INVALID_VALUE\fP, \fBCUDA_ERROR_INVALID_DEVICE\fP 
.RE
.PP
\fBNote:\fP
.RS 4
Note that this function may also return error codes from previous, asynchronous launches. 
.RE
.PP

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