Function rcudnn_sys::cudaGetErrorName [−][src]
pub unsafe extern "C" fn cudaGetErrorName(
error: cudaError_t
) -> *const c_char
Expand description
\brief Returns the string representation of an error code enum name
Returns a string containing the name of an error code in the enum. 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 ::cudaGetErrorString, ::cudaGetLastError, ::cudaPeekAtLastError, ::cudaError, ::cuGetErrorName