forked from M-Labs/artiq
1
0
Fork 0

compiler.prelude: add @portable as an alias for @kernel.

This commit is contained in:
whitequark 2015-12-18 23:00:29 +08:00
parent 7b3ace2e30
commit baa986aa32
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ def globals():
# ARTIQ decorators
"kernel": builtins.fn_kernel(),
"portable": builtins.fn_kernel(),
# ARTIQ context managers
"parallel": builtins.obj_parallel(),