#!/bin/csh # SCCS INFO @(#)TestLookaheadProp 1.1 last modified P. Strazdins, 98/04/28 # first created: P. Strazdins, DCS ANU 98/04 # # usage: TestLookaheadProp # # test harness program to test various Properties of a model of simplified # lookahead in the paper: # A Comparison of Lookahead and Algorithmic Blocking # Techniques for Parallel Matrix Factorization # See usage of Lookahead.c for explanation of the tests. # note: non-integral values of lambda, kappa and rho may be used, but must have # an exact binary representation. set N=10 foreach flags ("-w" "-w -h" "" "-h") foreach Q (4 5 8 3 2) foreach rho (1 2 3 4) foreach kappa (1 2 0.5 0.125 0) foreach lambda (0 1 2 $rho `expr $rho + 1` `expr $rho + 2` -1) set test="Lookahead -t $flags $rho $kappa $N $lambda $Q" echo $test $test > /dev/null if ($status != 0) then echo failed test $test exit 1 endif end # lambda end # kappa end # rho end # Q end # flags