Expand description
Bridge between the algebra-layer KernelScope surface
and polydat’s PolydatKernel scope-binding primitives.
Implements KernelScope for a PolydatKernelScope wrapper that
holds a (canonical, parent) PolydatKernel pair. Each
scope(coords) call delegates to
PolydatKernel::for_iteration — the established polydat
primitive for “materialize a fresh per-iteration child of
parent based on canonical with these bindings.”
This bridge lets ScopedKernelStream<PolydatKernelScope>
drive per-iteration kernels from the compiled IR.
Structs§
- Polydat
Kernel Scope - Wrapper around a
(canonical, parent)PolydatKernelpair that implementsKernelScope.
Functions§
- polydat_
value_ to_ tuple_ value - Reverse conversion — polydat
Valueto algebra-layerTupleValue. Only the subset ofValuevariants that have a correspondingTupleValueare converted; richerValuevariants (Bytes,Json,Ext,Handle,Vec*, etc.) returnNoneso the caller can handle the unsupported case explicitly. - tuple_
value_ to_ polydat_ value - Convert an algebra-layer
TupleValueto a polydatValue.