Lecture 9
Learning objectives
After this class, you should be able to:
- Optimize program performance by making effective use of compiler flags and feedback optimization.
- Optimize program performance by making effective use standard libraries.
Reading assignment
- Read the code under the
Lec9andps3/spudirectory onlinprog.Exercises and review questions
- Exercises and review questions on current lecture's material
- Use a variety of optimization flags discussed in class and determine a good set of flags for the
MM.ccode..- Use the
cblaslibrary of ATLAS to perform matrix-vector multiplication, and determine performance as a function of matrix size. See themakefileandMMBLAS.cfiles for examples of compilation and use ofCBLAS. Also read theCBLASreference on blackboard, under the course library tab.- Preparation for the next lecture
- Determine the time taken to run
MMBLASusing/usr/bin/time.
Last modified: 9 Feb 2010