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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 26 03:44:41 PDT 2013


Author: neteler
Date: 2013-08-26 03:44:41 -0700 (Mon, 26 Aug 2013)
New Revision: 57504

Modified:
   sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh
Log:
neighborhood_openmp benchmark: added AES instruction set test for older processors

Modified: sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh
===================================================================
--- sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh	2013-08-26 10:30:01 UTC (rev 57503)
+++ sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh	2013-08-26 10:44:41 UTC (rev 57504)
@@ -17,7 +17,22 @@
 export OMP_NUM_THREADS=4
 time -p ./neighbor 5000 5000 23
 
+
 echo "------------------------------"
+echo "openMP tests 1/2/4 threads with AES...:"
+
+# http://en.wikipedia.org/wiki/AES_instruction_set
+gcc -Wall -fopenmp -lgomp -Ofast -maes neighbor_bench.c -o neighbor
+
+export OMP_NUM_THREADS=1
+time -p ./neighbor 5000 5000 23
+export OMP_NUM_THREADS=2
+time -p ./neighbor 5000 5000 23
+export OMP_NUM_THREADS=4
+time -p ./neighbor 5000 5000 23
+
+
+echo "------------------------------"
 echo "openMP tests 1/2/4 threads with AVX-i...:"
 
 # requires recent processors, see



More information about the grass-commit mailing list