From: Bart Van Assche Date: Tue, 3 Jun 2008 15:12:59 +0000 (+0000) Subject: Added Cholesky and FFT. X-Git-Tag: svn/VALGRIND_3_4_0~525 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e58ace22fc326b3fff2b9d20e6841e3b07905154;p=thirdparty%2Fvalgrind.git Added Cholesky and FFT. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8175 --- diff --git a/exp-drd/scripts/run-splash2 b/exp-drd/scripts/run-splash2 index e1b1a929f4..a4c3634bc9 100755 --- a/exp-drd/scripts/run-splash2 +++ b/exp-drd/scripts/run-splash2 @@ -4,6 +4,32 @@ # Function definitions # ######################## +function log2 { + local i + + for ((i=0;i<64;i++)) + do + if [ $((2**i)) = $1 ]; then + echo $i + return 0 + fi + done + echo "" + return 1 +} + +function get_cache_size { + local s + s=$( inputs/tk29.O + fi + run_test ./CHOLESKY -C${cache_size} -n1024 inputs/tk29.O +) +fi + +# FFT +run_test ${SPLASH2}/codes/kernels/fft/FFT -l${log2_cache_size} -m$((2**28)) +exit 1 -# lu, contiguous blocks. +# LU, contiguous blocks. run_test ${SPLASH2}/codes/kernels/lu/contiguous_blocks/LU -n1024 -# lu, non-contiguous blocks. +# LU, non-contiguous blocks. run_test ${SPLASH2}/codes/kernels/lu/non_contiguous_blocks/LU -n1024 -# radiosity. +# Radiosity. run_test ${SPLASH2}/codes/apps/radiosity/RADIOSITY -batch -room