introduction to parallel computing
play

Introduction to Parallel Computing George Karypis Basic - PowerPoint PPT Presentation

Introduction to Parallel Computing George Karypis Basic Communication Operations Outline Importance of Collective Communication Operations One-to-All Broadcast All-to-One Reduction All-to-All Broadcast & Reduction


  1. Introduction to Parallel Computing George Karypis Basic Communication Operations

  2. Outline � Importance of Collective Communication Operations � One-to-All Broadcast � All-to-One Reduction � All-to-All Broadcast & Reduction � All-Reduce & Prefix-Sum � Scatter and Gather � All-to-All Personalized

  3. Collective Communication Operations � They represent regular communication patterns that are performed by parallel algorithms. � Collective: Involve groups of processors � Used extensively in most data-parallel algorithms. � The parallel efficiency of these algorithms depends on efficient implementation of these operations. � They are equally applicable to distributed and shared address space architectures � Most parallel libraries provide functions to perform them � They are extremely useful for “getting started” in parallel processing!

  4. MPI Names

  5. One-to-All Broadcast & All-to-One Reduction

  6. Broadcast on a Ring Algorithm

  7. Reduction on a Ring Algorithm

  8. Broadcast on a Mesh

  9. Broadcast on a Hypercube

  10. Code for the Broadcast Source: Root

  11. Code for Broadcast Arbitrary Source

  12. All-to-All Broadcast & Reduction

  13. All-to-All Broadcast for Ring

  14. All-to-All Broadcast on a Mesh

  15. All-to-All Broadcast on a HCube

  16. All-Reduce & Prefix-Sum

  17. Scatter & Gather

  18. Scatter Operation on HCube

  19. All-to-All Personalized (Transpose)

  20. All-to-all Personalized on a Ring

  21. All-to-all Personalized on a Mesh

  22. All-to-all Personalized on a HCube

  23. All-to-all Personalized on a HCube Improved Algorithm Perform log(p) point-to-point communication steps Processor i communicates with processor iXORj during the j th communication step.

  24. Complexities

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend