
Architecture, Algorithms, and
Programming Models
William Gropp
2
Goals of this course
• Algorithms don’t perform the way many
expect
!Learn why - difference between idealized and real
architecture
• Learn techniques to restructure algorithms and
data structures to better
!Some could be performed by compilers but aren’t
!More interesting are changes to the data structures
• Learn ways to create algorithms that are more
suited to modern hardware
• Learn how programming models help or hinder
the expression of efficient algorithms and what
changes are on the horizon
3
Logistics
• Classes Wednesday and Friday 2-3:15, SC 1131
!Except when I’m on travel
• Sept 3,5,10; 24
• Oct 8
• Nov 19,21
• Office hours: TBD, but stop in any time my door is open
• Format: Lectures; Presentations of papers by Students,
and open discussion
!Discussion of Papers
• You should be reading papers in the area
• Sign up and present a paper
• Evaluation: Homework + Presentation + Project (more
on this later)
4
What Will You Learn?
• Computer architecture relevant to understanding
performance
!Or, why(maybe) your codes do not perform as you expect
• Interaction of architecture with algorithms
!Some performance loss is due to the complexity of the
system
• The algorithm does not need to change, but does need some
help to be efficiently realized
!Some performance loss is due to the mismatch between
the hardware and the algorithm
• The algorithm must be revised or replaced