cuda.bindings._v2.driver.get_error_name#
- cuda.bindings._v2.driver.get_error_name(int error) str#
Gets the string representation of an error code enum name.
Sets
*p_strto the address of a NULL-terminated string representation of the name of the enum error codeerror. If the error code is not recognized,CUDA_ERROR_INVALID_VALUEwill be returned and*p_strwill be set to the NULL address.- Parameters:
error (Result) – Error code to convert to string.
- Returns:
Address of the string pointer.
- Return type:
See also
cuGetErrorName