|
From: <sv...@va...> - 2008-06-05 10:14:53
|
Author: bart
Date: 2008-06-05 11:14:53 +0100 (Thu, 05 Jun 2008)
New Revision: 8192
Log:
Use same inputs as in ITC paper for water-nsquared and water-spatial.
Modified:
trunk/exp-drd/scripts/run-splash2
Modified: trunk/exp-drd/scripts/run-splash2
===================================================================
--- trunk/exp-drd/scripts/run-splash2 2008-06-05 09:01:52 UTC (rev 8191)
+++ trunk/exp-drd/scripts/run-splash2 2008-06-05 10:14:53 UTC (rev 8192)
@@ -40,6 +40,8 @@
local tmp avg1=1 stddev1=1 avg2=1 stddev2=1
tmp="/tmp/test-timing.$$"
+ rm -f "${tmp}"
+
echo "$@"
for ((i=0;i<3;i++))
do
@@ -104,8 +106,8 @@
# Radiosity 99 99 99 99 485 163
# Radix 11 15 ? 17 222 56
# Raytrace 75 75 ? 75 172 53
-# Water-n2 290 290 ? 290 189 39
-# Water-sp 288 288 ? 287 183 34
+# Water-n2 50 50 ? 50 189 39
+# Water-sp 49 48 ? 49 183 34
cache_size=$(get_cache_size)
log2_cache_size=$(log2 ${cache_size})
@@ -149,19 +151,21 @@
done
run_test ../RAYTRACE balls4.env
)
+
+# Radiosity
run_test ${SPLASH2}/codes/apps/radiosity/RADIOSITY -batch -room
# Water-n2
-rm -f water-n2-input
-echo "1.5e-16 32768 3 6 -1 3000 3 0 1 6.212752" > water-n2-input
-test_input=water-n2-input \
- run_test ${SPLASH2}/codes/apps/water-nsquared/WATER-NSQUARED
+(
+ cd ${SPLASH2}/codes/apps/water-nsquared
+ test_input=input run_test ./WATER-NSQUARED
+)
# Water-sp
-rm -f water-sp-input
-echo "1.5e-16 32768 3 6 -1 3000 3 0 1 6.212752" > water-sp-input
-test_input=water-sp-input \
- run_test ${SPLASH2}/codes/apps/water-nsquared/WATER-NSQUARED
+(
+ cd ${SPLASH2}/codes/apps/water-spatial
+ test_input=input run_test ./WATER-SPATIAL
+)
|