Skip to main content

detect_iter_map

Function detect_iter_map 

Source
pub fn detect_iter_map(
    indices: impl IntoIterator<Item = impl IntoExpr<PrimExpr>>,
    input_iters: impl Into<Map<PrimVar, Range>>,
    predicate: impl IntoExpr<PrimExpr>,
    check_level: IterMapLevel,
    analyzer: Option<&Analyzer>,
    simplify_trivial_iterators: bool,
) -> Result<IterMapResult>
Expand description

Detect indices as iterator maps of the iterators input_iters under predicate (sym.DetectIterMap).

When they are not, the indices of the result are empty and its errors say why.