def cufftCheckStatus(status):

    if status != 0:
        try:
            raise cufftExceptions[status]
        except KeyError:
            raise cufftError


# Data transformation types:
Raise an exception if the specified CUBLAS status is an error.
dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/cufft.py/cufftCheckStatus