pub unsafe extern "C" fn cudaGetErrorString(
error: cudaError_t,
) -> *const c_charExpand description
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.
§Parameters
error: Error code to convert to string
§Return value
char* pointer to a NULL-terminated string.
See also: cudaGetErrorName, cudaGetLastError, cudaPeekAtLastError, cudaError, cuGetErrorString.