Function rcudnn_sys::cudaRuntimeGetVersion [−][src]
pub unsafe extern "C" fn cudaRuntimeGetVersion(
runtimeVersion: *mut c_int
) -> cudaError_t
Expand description
\brief Returns the CUDA Runtime version
Returns in \p *runtimeVersion 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.
This function automatically returns ::cudaErrorInvalidValue if the \p runtimeVersion argument is NULL.
\param runtimeVersion - Returns the CUDA Runtime version.
\return ::cudaSuccess, ::cudaErrorInvalidValue \note_init_rt \note_callback
\sa ::cudaDriverGetVersion, ::cuDriverGetVersion