View source on GitHub |
A stackless auto-batching VM.
Borrows the stack, and conditional execution, from the host Python; manages only divergence.
Modules
inst
module: Instruction language for auto-batching virtual machine.
Classes
class ExecutionQueue
: A priority queue of resumption points.
Functions
execute(...)
: Executes a given program in stackless auto-batching mode.
is_running(...)
: Returns whether the stackless machine is running a computation.