Module: Programming for Performance

Learning Outcomes

Code optimization

Readings

Measuring Performance

How to measure/characterize the performance of a program on a platform

Code Optimization

Main concepts and techniques for optimizing code, many of which are done for you by compilers

Programming for Locality

How to write code that promotes data reuse in the cache

Sample C source

Experiential Learning

Homework Assignment #12

A pencil-and-paper assignment in which you reason about caches

Assessments

Homework #12 Assessment

Outcome(s) assessed: Code optimization