{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

a3 - Programming for Performance Assignment 3(v1 Patrick...

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

View Full Document Right Arrow Icon
Programming for Performance: Assignment 3 (v1) Patrick Lam Due: March 7, 2011 Now that you’ve manually written parallel code using pthreads or a glib interface to it, we’ll move on to 1) automatic parallelization (L12) and 2) manu- ally specifying parallelization with OpenMP (L13 v2), both 2a) for array-based programs (for-loop parallelization) and 2b) task-based OpenMP parallelization. Gentle reminder: you need to hand in code that compiles. Otherwise you get 0 points for that question. Part 1: automatic parallelization (40 points) In this part of the assignment, you’ll play with automatic parallelization and try to get it working on some production code. In class, I talked about the Oracle Solaris Studio compiler, which you can download on the Internet. I also found another free (as-in-speech) parallelizing compiler, Open64, which AMD productized 1 . You can read the documentation 2 and find out about the -apo (automatic parallelization) and -mso (optimize for multicores) options. Figure out how to make it tell you what it did.
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}