def culaCheckStatus(status):
    """
    Raise an exception corresponding to the specified CULA status
    code.

    Parameters
    ----------
    status : int
        CULA status code.

    """

    if status != 0:
        error = culaGetErrorInfo()
        try:
            raise culaExceptions[status](error)
        except __HOLE__:
            raise culaError(error)
dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/cula.py/culaCheckStatus