<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>Cache Blocking</title>
</head>
<body>
<pre>
/************************************************************

Shows the effects of cache blocking on a matrix multiply like
operation.

Ref: http://cseweb.ucsd.edu/classes/wi12/cse240A-a/cache2.pdf

If this program seg faults on startup you need to increase your
stack size.  On some machines (OSX) the compile line shown
below will fix the issue.  On others you may need to run ulimit.

cc -W