mirror of https://github.com/m-labs/artiq.git
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
|
# ARTIQ decorators
|
||||||
"kernel": builtins.fn_kernel(),
|
"kernel": builtins.fn_kernel(),
|
||||||
|
"portable": builtins.fn_kernel(),
|
||||||
|
|
||||||
# ARTIQ context managers
|
# ARTIQ context managers
|
||||||
"parallel": builtins.obj_parallel(),
|
"parallel": builtins.obj_parallel(),
|
||||||
|
|
Loading…
Reference in New Issue