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:
parent
7b3ace2e30
commit
baa986aa32
@ -27,6 +27,7 @@ def globals():
|
||||
|
||||
# ARTIQ decorators
|
||||
"kernel": builtins.fn_kernel(),
|
||||
"portable": builtins.fn_kernel(),
|
||||
|
||||
# ARTIQ context managers
|
||||
"parallel": builtins.obj_parallel(),
|
||||
|
Loading…
Reference in New Issue
Block a user