pub unsafe extern "C" fn cudaGetErrorName(
error: cudaError_t,
) -> *const c_charExpand description
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.
§Parameters
error: - Error code to convert to string