pub unsafe extern "C" fn cuGetErrorName(
error: CUresult,
pStr: *mut *const c_char,
) -> CUresult
Expand description
\brief Gets the string representation of an error code enum name
Sets \p *pStr to the address of a NULL-terminated string representation of the name of the enum error code \p error. If the error code is not recognized, ::CUDA_ERROR_INVALID_VALUE will be returned and \p *pStr will be set to the NULL address.
\param error - Error code to convert to string \param pStr - Address of the string pointer.
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE
\sa ::CUresult, ::cudaGetErrorName