Function rcudnn::cudaGetErrorString[][src]

pub unsafe extern "C" fn cudaGetErrorString(
    error: cudaError
) -> *const i8
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