title: Simple Compute-Intensive CUDA Program
body: <p>I'm preparing an acceptance test for a new machine with Nvidia graphics cards and I'd like a simple CUDA program that will fully exercise the GPU for a full day.  The intent is to generate large amounts of heat and ensure the new machine is stable under the load.  I'd like the code to be very easy to compile and run (no dependencies, no large input data sets), and also very easy to verify (small amounts of output).  Also, I'd like it to be command-line only, no GUI (the test will have to be automated).</p>
  
  <p>I was originally thinking of repeatedly running Vector Dot Products of large vectors.  However, that's mostly memory-intensive.  So if the GPUs are constantly waiting on memory accesses, then they probably aren't generating as much heat as they could.</p>
  
  <p>I'm running on a CentOS Linux machine.</p>
  
  <p>Does anyone have any suggestions?</p>