Optimization Demonstration Samples and Timing Routines
BLAS reference: http://www.netlib.org/blas/index.html
ATLAS BLAS reference: http://math-atlas.sourceforge.net
| MatrixMult.cpp | Code that uses the "standard" coding to multiply two matrices. The code also demonstrates how to allocate a 2D matrix so that the data for the matrix is guaranteed to be in contiguous memory locations and how to set up pointer arrays so one can index the (i,j)th element using [i][j] notation.
|
|
| MatrixMultBlas.cpp | Code that calls the BLAS level 3 routine dgemm (not supplied) to perform a matrix multiply. |
|
| TimingRoutine.h
TimingRoutine.cpp |
Stand-alone timeing routine that calls the system clock and returns the time in milliseconds (as a double). |