Futhark.AD.Rev.Loop
diffLoop :: (Stms SOACS -> ADM ()) -> Pat Type -> StmAux () -> Exp SOACS -> ADM () -> ADM () Source #
Transforms a loop into its reverse-mode derivative.
stripmineStms :: Stms SOACS -> ADM (Stms SOACS) Source #