cudaError_t cudaDriverGetVersion ( int *  driverVersion  ) 

Returns in *driverVersion the version number of the installed CUDA driver. If no driver is installed, then 0 is returned as the driver version (via driverVersion). This function automatically returns cudaErrorInvalidValue if the driverVersion argument is NULL.

Parameters:
driverVersion - Returns the CUDA driver version.
Returns:
cudaSuccess, cudaErrorInvalidValue
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaRuntimeGetVersion


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA