Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mlir][OpenMP] Lower REDUCTION clause for SECTIONS construct #97859

Merged
merged 3 commits into from
Jul 12, 2024

Commits on Jul 5, 2024

  1. [mlir][OpenMP] Lower REDUCTION clause for SECTIONS construct

    This shares code with WsloopOp (the changes to Wsloop should be NFC).
    OpenMPIRBuilder basically implements SECTIONS as a wsloop over a case
    statement with each SECTION as a case for a particular loopiv value.
    
    Unfortunately it proved very difficult to share code between these and
    ParallelOp. ParallelOp does quite a few things differently (doing more
    work inside of the bodygen callback and laying out blocks differently).
    Aligning reduction implementations for wsloop and parallel will probably
    involve functional changes to both, so I won't attempt that in this
    commit.
    tblah committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    5c929cf View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Add mlir array reduction test

    tblah committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    a7de248 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    87b7e3f View commit details
    Browse the repository at this point in the history