code: def cusparseCheckStatus(status):
      """
      Raise CUSPARSE exception
  
      Raise an exception corresponding to the specified CUSPARSE error
      code.
  
      Parameters
      ----------
      status : int
          CUSPARSE error code.
  
      See Also
      --------
      cusparseExceptions
  
      """
  
      if status != 0:
          try:
              raise cusparseExceptions[status]
          except KeyError:
              raise cusparseError
  
imports: import atexit
  import ctypes.util
  import platform
  from string import Template
  import sys
  import warnings
  import numpy
  import cuda
label_desc: Use image node_id 1 for calling a global function with example usage: cusparseCheckStatus(status) without return types