Example: Laplace Equation Solver
SOR code for solving Laplaceís equation in 2-d space
Vector version
- Tuned for T90
- All computations well vectorized
ěCache-friendlyî version
- Tuned for microprocesors
- Scalar code
- Designed for efficient re-use of cached data
Test problem size: 2001 by 2001
- Data arrays donít fit in cache