[GRASS-SVN] r57478 - sandbox/soeren/benchmarks/neighborhood_openmp

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 21 10:17:37 PDT 2013


Author: neteler
Date: 2013-08-21 10:17:36 -0700 (Wed, 21 Aug 2013)
New Revision: 57478

Modified:
   sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh
Log:
neighborhood_openmp benchmark: core-avx-i is only faster with -fno-fast-math being disabled

Modified: sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh
===================================================================
--- sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh	2013-08-21 16:54:03 UTC (rev 57477)
+++ sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh	2013-08-21 17:17:36 UTC (rev 57478)
@@ -22,8 +22,10 @@
 
 # requires recent processors, see
 # http://en.wikipedia.org/wiki/Advanced_Vector_Extensions
-gcc -Wall -fopenmp -lgomp -Ofast -fno-fast-math -march=core-avx-i neighbor_bench.c -o neighbor
 
+# keep precision: -fno-fast-math
+gcc -Wall -fopenmp -lgomp -Ofast -march=core-avx-i neighbor_bench.c -o neighbor
+
 export OMP_NUM_THREADS=1
 time ./neighbor 5000 5000 23
 export OMP_NUM_THREADS=2



More information about the grass-commit mailing list