2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

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