...
This web site contains resources for the Fall 2012 offering of CS 181E at Harvey Mudd College. For general information on this course, please go to the course home page.
Lecture Schedule
| Day | Date (2012) | Topic | Slides | Audio (Panopto) | Code Examples | Assignment | |
---|---|---|---|---|---|---|---|---|
Module 1: Deterministic Shared-Memory Parallelism | ||||||||
1 | Wed | Sep 05 | Lecture 1: Introduction, Async-Finish Parallel Programming, Computation Graphs, Abstract Performance Metrics, Amdahl's Law |
|
|
| HW1 (due by 11:59pm on Sep 11th) | |
2 | Mon | Sep 10 | Lecture 2: Data Races and Determinism, Finish Accumulators, Futures (Tasks with Return Values), Dataflow Programming, Data-Driven Tasks |
|
|
|
| |
3 | Wed | Sep 12 | Lecture 3: Abstract vs. Real Performance, Seq clause, Forasync Loops, Loop Chunking, Forall Loops and Barrier Synchronization |
|
|
| HW2 (due by 11:59pm on Sep 18th) | |
4 | Mon | Sep 17 | Lecture 4: Parallel Prefix Sum algorithm, Parallel QuickSort, Point-to-point Synchronization, Phasers |
|
|
|
| |
5 | Wed | Sep 19 | Lecture 5: Parallel MergeSort, Parallel BitonicSortBitonicSor |
| HW3 (due by 11:59pm on Sep 25th) | |||
6 | Mon | Sep 24 | Lecture 6: Phaser Accumulators, Bounded Phasers, Memory Consistency Models, Summary of Deterministic Shared-Memory Parallelism |
| lec5-audio |
| ||
Module 2: Nondeterministic Shared-Memory Parallelism | ||||||||
7 | Wed | Sep 26 | Lecture 7: Actors |
|
| HW4 (due by 11:59pm on Oct 2nd) | ||
8 | Mon | Oct 01 | Lecture 8: Systolic arrays, Systolic algorithms (*Module 3 topic) |
|
| |||
9 | Wed | Oct 03 | Lecture 9: Critical sections and the Isolated statement, Monitors, Atomic Variables, Linearizability of Concurrent Objects |
| HW5 (due by 11:59pm on Oct 9th) | |||
10 | Mon | Oct 08 | Lecture 10: Linearizability of Concurrent Objects (contd), Safety and Liveness Properties |
|
| |||
Module 3: Distributed-Memory Parallelism | ||||||||
11 | Wed | Oct 10 | Lecture 11: Task Affinity with Places, Message Passing Interface (MPI) |
| HW6 (due by 11:59pm on Oct 16h) | |||
12 | Mon | Oct 15 | Lecture 12: Cloud Computing, MapReduce, GPU Programming |
|
| |||
Module 4: Real-world Parallel Programming Models and Challenges | ||||||||
13 | Wed | Oct 17 | Lecture 13: Real-World Parallel Programming Models, Course Review |
| Take-home Final Exam (3-hour duration, due by 5pm on Oct 19th) |
Lab Schedule
Lab # | Date (2011) | Topic | Handouts | Code Examples | Solutions |
---|---|---|---|---|---|
1 | Jan 10, 11, 12 | DrHJ setup, Async-Finish Parallel Programming | |||
2 | Jan 17, 18, 19 | Abstract performance metrics with async & finish |
| ||
3 | Jan 23, 25, 26 | Data race detection and repair | RacyArraySum1.hj, RacyFib.hj, RacyNQueens.hj, RacyFannkuch.hj |
| |
4 | Jan 30 Feb 01, 02 | Real performance, work-sharing and work-stealing runtimes, futures |
| ||
5 | Feb 07, 08, 09 | Data-driven futures | |||
6 | Feb 14, 15, 16 | Barriers and Phasers | |||
- | Feb 21, 22, 23 | No lab (Exam 1 week) |
|
|
|
7 | Mar 06, 07, 08 | Atomic Variables and Isolated Statement | spanning_tree_atomic.hj, spanning_tree_isolated_object.hj, SortedListExampleObj.hj | ||
8 | Mar 13, 14, 15 | Actors | |||
- | Mar 20, 21, 22 | No lab (HW4 deadline, midterm recess) |
|
|
|
9 | Mar 27, 28, 29 | Java Threads | |||
10 | Apr 03, 04, 05 | Java Locks |
| ||
11 | Apr 10, 11, 12 | Message Passing Interface (MPI) | |||
12 | Apr 17, 18, 19 | Map Reduce |
|
Grading, Honor Code Policy, Processes and Procedures
Grading will be based on your performance on six homeworks (worth 50%), two exams (20% each), and lab attendance (10%).
The purpose of the homeworks is to train you to solve problems and to help deepen your understanding of concepts introduced in class. Homeworks and programming assignments are due on the dates and times specified in the course schedule. Please turn in all your homeworks using the CLEAR turn-in system. Homework is worth full credit when turned in on time. A 10% penalty per day will be levied on late homeworks, up to a maximum of 6 days. No submissions will be accepted more than 6 days after the due date.
...
) |
...
Graded homeworks will be returned to you via email, and exams as marked-up hardcopies. If you believe we have made an error in grading your homework or exam, please bring the matter to our attention within one week.
Past Offerings of COMP 322
Accommodations for Students with Special Needs
...