(status)
Raise an exception if the specified CUBLAS status is an error.
Raise an exception if the specified CUBLAS status is an error.
Raise an exception if the specified CUBLAS status is an error .
def cufftCheckStatus(status):
    """Raise an exception if the specified CUBLAS status is an error."""

    if status != 0:
        try:
            e = cufftExceptions[status]
        except KeyError:
            raise cufftError
        else:
            raise e
def cufftCheckStatus ( status ) : if status != 0 : try : e = cufftExceptions [ status ] except KeyError : raise cufftError else : raise e