Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S starpu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • starpu
  • starpu
  • Merge requests
  • !73

Automatic distributed-memory reduction wrap-up

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Antoine Jego requested to merge automatic-redux-wrapup into master Nov 18, 2022
  • Overview 24
  • Commits 24
  • Pipelines 31
  • Changes 13

Allows the automatic wrap-up of distributed-memory reduction patterns.

Assuming tasks have been correctly inserted on each contributing node, the following happens :

  • if users want to specify how the reduction scheme happens ; then, they call starpu_mpi_reedux_data()
  • if users trust StarPU to wrap reduction patterns ; then, reduction trees are submitted upon calling starpu_mpi_wait_for_all()
  • if users actually use the reduced value ; then, reduction trees are submitted before processing the send requests associated with the use of the reduced value

mpi_redux_autowrapup.c example extends mpi_redux.c with the 3 behaviours.

Edited Dec 07, 2022 by Nathalie Furmento
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: automatic-redux-wrapup