Linux repositories inspector

CUDA_INITIALIZE(3)

version 6.0
8 Feb 2019
Aliases: cuInit(3), cuInit(3)

nvidia-cuda-dev

NVIDIA CUDA development files

cuda

NVIDIA's GPU programming toolkit

NAME

Initialization -

Functions

CUresult cuInit (unsigned int Flags)
Initialize the CUDA driver API.

Detailed Description

\brief initialization functions of the low-level CUDA driver API (cuda.h)
This section describes the initialization functions of the low-level CUDA driver application programming interface.

Function Documentation

CUresult cuInit (unsigned int Flags)

Initializes the driver API and must be called before any other function from the driver API. Currently, the Flags parameter must be 0. If cuInit() has not been called, any function from the driver API will return CUDA_ERROR_NOT_INITIALIZED.
Parameters:
Flags - Initialization flag for CUDA.
Returns:
CUDA_SUCCESS, CUDA_ERROR_INVALID_VALUE, CUDA_ERROR_INVALID_DEVICE, CUDA_ERROR_SYSTEM_DRIVER_MISMATCH, CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE
Note:
Note that this function may also return error codes from previous, asynchronous launches.

Author

Generated automatically by Doxygen from the source code.
⇧ Top