From baa986aa32492917b30607212e68a7411dadb1bd Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 18 Dec 2015 23:00:29 +0800 Subject: [PATCH] compiler.prelude: add @portable as an alias for @kernel. --- artiq/compiler/prelude.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/compiler/prelude.py b/artiq/compiler/prelude.py index 4c616a3c4..b45686204 100644 --- a/artiq/compiler/prelude.py +++ b/artiq/compiler/prelude.py @@ -27,6 +27,7 @@ def globals(): # ARTIQ decorators "kernel": builtins.fn_kernel(), + "portable": builtins.fn_kernel(), # ARTIQ context managers "parallel": builtins.obj_parallel(),