Patterns - Patterns for Parallel Programming School of...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
School of Electrical Engineering and Computer Science University of Central Florida Patterns for Parallel Programming Patterns for Parallel Programming University of Central Florida Textbook Textbook T. Mattson, B. Sanders, and B. Massingill, Patterns for Parallel Programming , Addison-Wesley, 2005, ISBN 0-321-22811-1.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
University of Central Florida First of all First of all • Is the problem large enough and the results significant enough to justify the effort to solve it faster? • If so, what are the most computationally intensive parts? Whether speeding them up provides sufficient performance gains (i.e., Amdahl’s law)? University of Central Florida Overview Overview Finding Concurrency Algorithm Structure Supporting structures Implementation mechanisms Exposing exploitable concurrency Structuring algorithm to take advantage Structuring program and shared data Mapping to particular programming environment
Background image of page 2
University of Central Florida Finding Concurrency Finding Concurrency Task Decomposition Data Decomposition Data Sharing Order Tasks Decomposition Group Tasks Dependence Analysis Design Evaluation Algorithm Structure Supporting structures Implementation mechanisms University of Central Florida Decomposition Patterns Decomposition Patterns • Task decomposition: view problem as a stream of instructions that can be broken into sequences called tasks that can execute in parallel. – Key: Independent operations • Data decomposition: view problem from data perspective and focus on how the can be broken into distinct chunks – Key: Data chunks that can be operated upon independently • Task and data decomposition imply each other. They are different facets of the same fundamental decomposition
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/03/2011 for the course CDA 6938 taught by Professor Zou,c during the Spring '08 term at University of Central Florida.

Page1 / 12

Patterns - Patterns for Parallel Programming School of...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online