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

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(),