[cig-commits] commit: Update the makefiles in the speed tests

Mercurial hg at geodynamics.org
Mon Jun 4 17:16:33 PDT 2012


changeset:   13:a2ba4216bacb
user:        Walter Landry <wlandry at caltech.edu>
date:        Mon Jun 04 17:16:06 2012 -0700
files:       tests/speed/Makefile tests/speed/makefile.vc
description:
Update the makefiles in the speed tests


diff -r 53eb6101fa53 -r a2ba4216bacb tests/speed/Makefile
--- a/tests/speed/Makefile	Tue May 29 10:52:23 2012 -0700
+++ b/tests/speed/Makefile	Mon Jun 04 17:16:06 2012 -0700
@@ -1,37 +1,16 @@
-# CXX = /home/boo/foreign_compilers/usr/local/KAI/KCC.pu-4.0d-1/KCC_BASE/bin/KCC
-# #CXXFLAGS=-Drestrict= --max_pending_instantiations 1000
-# CXXFLAGS=--restrict --no_exceptions --max_pending_instantiations 100
-# # CXXFLAGS=+K3 --restrict --no_exceptions --inline_auto_space_time=750000000000000 --inline_implicit_space_time=200000000000000 --inline_generated_space_time=40000000000000.0 --inline_auto_space_time=100000000000000.0 --max_pending_instantiations 100
+CXX=clang++
+CXXOPTIMIZE=-O3 -ffast-math
+CXXFLAGS=-Wall -Werror -ftemplate-depth-1000 -Drestrict= $(CXXOPTIMIZE)
 
-CXX = g++
-CXXOPTIMIZE=-O3 -finline-functions -finline-limit-1000 -funroll-loops
-CXXFLAGS=-Wall -Werror -ftemplate-depth-1000 -Drestrict= $(CXXOPTIMIZE)
-# CXXFLAGS=-O3 -ftemplate-depth-100 -Drestrict= -fomit-frame-pointer -finline-functions -finline-limit-1000000000000 -ffast-math -fno-rtti -fno-exceptions
-# CXXFLAGS=-ftemplate-depth-100 -Drestrict=__restrict__
-# CXXFLAGS=-ansi -ftemplate-depth-100 -Drestrict=
-# CXXFLAGS=-O3 -ftemplate-depth-100 -Drestrict=__restrict__
+# CXX = g++-4.7
+# CXXOPTIMIZE=-Ofast
+# CXXFLAGS=-Wall -Werror -ftemplate-depth-1000 -Drestrict= $(CXXOPTIMIZE)
 
+# CXX = icpc
+# CXXFLAGS= -restrict -fast
 
-# CXX = icc
-# # CXXFLAGS= -restrict -O0
-# # CXXFLAGS= -restrict -O0 -Qoption,cpp,--pending_instantiations,1000
-# # CXXFLAGS= -restrict -O3
-# # CXXFLAGS= -restrict -O3 -tpp6 -xi
-# # CXXFLAGS= -restrict -O3 -tpp6 -xi -ip
-# CXXFLAGS= -restrict -O3 -tpp6 -xi -ipo
-# #CXXFLAGS= -restrict -O0 -g -I/home/boo/foreign_compilers/opt/intel/compiler50/ia32/include -I/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include
-# #CXXFLAGS= -restrict -O0 -g -L/home/boo/foreign_compilers/opt/intel/compiler50/ia32/lib -lcprts
-# #CXXFLAGS= -restrict -O0 -g -lcprts
-# # CXXFLAGS= -restrict -I/home/boo/intel_compiler/opt/intel/compiler50/ia32/include -I/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include -O3 -tpp6 -xi
-# # # CXXFLAGS= -Drestrict= -I/home/boo/intel_compiler/opt/intel/compiler50/ia32/include -I/usr/lib/gcc-lib/i386-linux/2.95.2/include -O3 -tpp6 -xi -ip
-
-# CXX = pgCC
-# # CXXFLAGS = -Drestrict= -O2 -Munroll -Mnoframe  -Minline=levels:10 --no_exceptions -Mvect -Mvect=assoc -Mneginfo=loop
-
-# CXXFLAGS = -Drestrict= --pending_instantiations=1000
-# # CXXFLAGS = -Drestrict= -fast -Minline=levels:10 --no_exceptions
-
-# # CXXFLAGS = -Drestrict= -O2 -Munroll -Mnoframe  -Minline=levels:100 --no_exceptions
+# CXX = pgcpp
+# CXXFLAGS = -fast -Mipa=fast,inline --restrict -I/usr/include/x86_64-linux-gnu
 
 
 % :: %,v
diff -r 53eb6101fa53 -r a2ba4216bacb tests/speed/makefile.vc
--- a/tests/speed/makefile.vc	Tue May 29 10:52:23 2012 -0700
+++ b/tests/speed/makefile.vc	Mon Jun 04 17:16:06 2012 -0700
@@ -1,5 +1,5 @@ CPPFLAGS=/D "restrict=" /Ox /W3 /TP
-CPPFLAGS=/D "restrict=" /Ox /W3 /TP
-CXXFLAGS=/D "restrict=" /Ox /W3 /TP
+CPPFLAGS=/D "restrict=" /O2 /W3 /TP /fp:fast
+CXXFLAGS=/D "restrict=" /O2 /W3 /TP /fp:fast
 
 
 all: little.exe littlefast.exe example.exe examplefast.exe speed_test.exe one_over one_over_fast



More information about the CIG-COMMITS mailing list