def magmaCheckStatus(status):

    if status != 0:
        raise MagmaError(status)

# Utility functions:
Update the code to a specific git reference (tag/sha/etc).
dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/magma.py/magmaCheckStatus--crossover with--dataset/ETHPy150Open lmorchard/badg.us/scripts/update/update.py/update_code