pub unsafe extern "C" fn cuGetErrorString(
error: CUresult,
pStr: *mut *const c_char,
) -> CUresult
Expand description
\brief Gets the string description of an error code
Sets \p *pStr to the address of a NULL-terminated string description of the 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, ::cudaGetErrorString