def cu(fn):
    from runtime import CuFunction

    # Wrap Python procedure in CuFunction object that will intercept
    # calls (e.g., for JIT compilation).
    cufn = CuFunction(fn)

    return cufn
Decorator for declaring that a procedure is visible in Copperhead.
dataset/ETHPy150Open bryancatanzaro/copperhead/copperhead/decorators.py/cu