Skip to main content

subspace_divide

Function subspace_divide 

Source
pub fn subspace_divide(
    bindings: impl IntoIterator<Item = impl IntoExpr<PrimExpr>>,
    input_iters: impl Into<Map<PrimVar, Range>>,
    sub_iters: impl IntoIterator<Item = impl IntoArg<PrimVar>>,
    predicate: impl IntoExpr<PrimExpr>,
    check_level: IterMapLevel,
    analyzer: Option<&Analyzer>,
    simplify_trivial_iterators: bool,
) -> Result<Array<Array<IterMark>>>
Expand description

Divide each binding into an outer map of the iterators not in sub_iters and an inner map of those in it (sym.SubspaceDivide).

The result is one [outer, inner] pair of marks per binding, then a pair whose extents are the outer and inner predicates, or empty when the bindings cannot be divided.