Function rcudnn_sys::cudaGetErrorString[][src]

pub unsafe extern "C" fn cudaGetErrorString(
    error: cudaError_t
) -> *const c_char
Expand description

\brief Returns the description string for an error code

Returns the description string for an error code. If the error code is not recognized, “unrecognized error code” is returned.

\param error - Error code to convert to string

\return \p char* pointer to a NULL-terminated string

\sa ::cudaGetErrorName, ::cudaGetLastError, ::cudaPeekAtLastError, ::cudaError, ::cuGetErrorString