
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
During the course of work of the Parallel and Distributed Computing we learn the core of the programming. The main points disucss in these lecture slides are:Pseudocode, Unmarked Natural Numbers, Sequential Algorithm, Complexity, Sources of Parallelism, Domain Decomposition, Array Element, Agglomeration Goals, Data Decomposition Options, Block Decomposition
Typology: Slides
1 / 32
This page cannot be seen from the preview
Don't miss anything!

























2
2
2
2
17 elements divided among 7 processes 17 elements divided among 5 processes 17 elements divided among 3 processes
17 elements divided among 7 processes 17 elements divided among 5 processes 17 elements divided among 3 processes
Assuming no operations for “floor” function Our choice
Block Decomposition Macros #define BLOCK_LOW(id,p,n) ((id)(n)/(p)) #define BLOCK_HIGH(id,p,n)
(BLOCK_LOW((id)+1,p,n)-1) #define BLOCK_SIZE(id,p,n)
(BLOCK_LOW((id)+1,p,n)-BLOCK_LOW(id,p,n)) #define BLOCK_OWNER(index,p,n)
(((p)(index)+1)-1)/(n))**
- L - L - L - L - L Decomposition Affects Implementation