Skip to content

Lightweight package for loop unrolling on SSA-IR instead of AST #508

@yebai

Description

@yebai

Motivated by #156 (comment) and associated discussions, one could consider creating a lightweight package that performs loop analysis and unrolling (possibly other loop optimisation) using similar techniques for forward mode algorithmic differentiation (see, e.g. #389).

Mooncake could utilise these techniques before the autograd transform to address #156. One advantage of a lightweight package is modularity; the loop analysis and unrolling are not specific to Mooncake.

Related Julia PR: JuliaLang/julia#36832

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement (performance)Would reduce the time it takes to run some bit of the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions