



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
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Quiz; Professor: Haynes; Class: Parallel Algorithms; Subject: Computer Science; University: Eastern Michigan University; Term: Unknown 1989;
Typology: Quizzes
1 / 5
This page cannot be seen from the preview
Don't miss anything!
COSC 612 FA09 Test #3 Name: Open books/notes/internet.
Or, written out as a window, where f(r, c) is the center element: 1 1 1 1 1 1 1 1 1 Suppose you have a 9 X 9 image. In this problem, Pi communicates data to Pj. The time to communicate 1 pixel value from Pi to Pj is the same as the time to communicate n pixel values from Pi to Pj (n is any number of pixel values). However, when Pi is communicating with Pj, Pi cannot communicate with Pk at the same time. So, for example if Pi has to send a pixel to Pj and a pixel to Pk, that takes two time ticks. The time to communicate is one tick. a. You have 81 PEs. Each PE is responsible for computing the smoothed value of one pixel. Maximizing parallelism in the communications, how many communication ticks are necessary? Show your thinking for partial credit.
b. You have 3 PEs. Each PE is responsible for computing the smoothed value of a contiguous column of pixels. P0: columns 0 - 2; P1: columns 3 - 5, P2: columns 6 - 8. Maximizing parallelism in the communications, how many communication ticks are necessary? Show your thinking for partial credit.