Skip to main content

compile_to_tenstorrent_dynamic

Function compile_to_tenstorrent_dynamic 

Source
pub fn compile_to_tenstorrent_dynamic(
    source: &str,
) -> Result<MeshLowering<DynamicSpec>, String>
Expand description

Recognize a dynamic-channel program (a loop-driven producer feeding the pipe with computed values) and lower it to a 2-core program: the producer loops pushing f(i) onto a bounded circular buffer; the consumer folds the stream. Order-deterministic FIFO ⇒ ≡VM.