bench: use of Eigen/Array is deprecated + fix includes for iostream
This commit is contained in:
		
							parent
							
								
									951da96f14
								
							
						
					
					
						commit
						551cb9b7b4
					
				| @ -4,18 +4,25 @@ | ||||
| # CLIST[((g++))]="g++-3.4 -O3 -DNDEBUG -finline-limit=20000" | ||||
| 
 | ||||
| # CLIST[((g++))]="g++-4.1 -O3 -DNDEBUG" | ||||
| CLIST[((g++))]="g++-4.1 -O3 -DNDEBUG -finline-limit=20000" | ||||
| #CLIST[((g++))]="g++-4.1 -O3 -DNDEBUG -finline-limit=20000" | ||||
| 
 | ||||
| # CLIST[((g++))]="g++-4.2 -O3 -DNDEBUG" | ||||
| CLIST[((g++))]="g++-4.2 -O3 -DNDEBUG -finline-limit=20000" | ||||
| #CLIST[((g++))]="g++-4.2 -O3 -DNDEBUG -finline-limit=20000" | ||||
| # CLIST[((g++))]="g++-4.2 -O3 -DNDEBUG -finline-limit=20000 -fprofile-generate" | ||||
| # CLIST[((g++))]="g++-4.2 -O3 -DNDEBUG -finline-limit=20000 -fprofile-use" | ||||
| 
 | ||||
| # CLIST[((g++))]="g++-4.3 -O3 -DNDEBUG" | ||||
| CLIST[((g++))]="g++-4.3 -O3 -DNDEBUG -finline-limit=20000" | ||||
| #CLIST[((g++))]="g++-4.3 -O3 -DNDEBUG -finline-limit=20000" | ||||
| # CLIST[((g++))]="g++-4.3 -O3 -DNDEBUG -finline-limit=20000 -fprofile-generate" | ||||
| # CLIST[((g++))]="g++-4.3 -O3 -DNDEBUG -finline-limit=20000 -fprofile-use" | ||||
| 
 | ||||
| # CLIST[((g++))]="icpc -fast -DNDEBUG -fno-exceptions -no-inline-max-size" | ||||
| # CLIST[((g++))]="icpc -fast -DNDEBUG -fno-exceptions -no-inline-max-size -prof-genx" | ||||
| # CLIST[((g++))]="icpc -fast -DNDEBUG -fno-exceptions -no-inline-max-size -prof-use" | ||||
| # CLIST[((g++))]="icpc -fast -DNDEBUG -fno-exceptions -no-inline-max-size -prof-use" | ||||
| 
 | ||||
| #CLIST[((g++))]="/opt/intel/Compiler/11.1/072/bin/intel64/icpc -fast -DNDEBUG -fno-exceptions -no-inline-max-size -lrt" | ||||
| CLIST[((g++))]="/home/orzel/svn/llvm/Release/bin/clang++ -O3 -DNDEBUG -DEIGEN_DONT_VECTORIZE -lrt" | ||||
| CLIST[((g++))]="/home/orzel/svn/llvm/Release/bin/clang++ -O3 -DNDEBUG -lrt" | ||||
| CLIST[((g++))]="g++-4.4.4 -O3 -DNDEBUG -DEIGEN_DONT_VECTORIZE -lrt" | ||||
| CLIST[((g++))]="g++-4.4.4 -O3 -DNDEBUG -lrt" | ||||
| CLIST[((g++))]="g++-4.5.0 -O3 -DNDEBUG -DEIGEN_DONT_VECTORIZE -lrt" | ||||
| CLIST[((g++))]="g++-4.5.0 -O3 -DNDEBUG -lrt" | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| 
 | ||||
| #include <iostream> | ||||
| #include "BenchUtil.h" | ||||
| #include "basicbenchmark.h" | ||||
| 
 | ||||
|  | ||||
| @ -7,7 +7,8 @@ | ||||
| // #define EIGEN_DEFAULT_TO_ROW_MAJOR
 | ||||
| #define _FLOAT | ||||
| 
 | ||||
| #include <Eigen/Array> | ||||
| #include <iostream> | ||||
| 
 | ||||
| #include <Eigen/Core> | ||||
| #include "BenchTimer.h" | ||||
| 
 | ||||
|  | ||||
| @ -8,7 +8,9 @@ | ||||
| //  -DTRIES=10
 | ||||
| //  -DSCALAR=double
 | ||||
| 
 | ||||
| #include <Eigen/Array> | ||||
| #include <iostream> | ||||
| 
 | ||||
| #include <Eigen/Core> | ||||
| #include <Eigen/Cholesky> | ||||
| #include <bench/BenchUtil.h> | ||||
| using namespace Eigen; | ||||
|  | ||||
| @ -9,7 +9,9 @@ | ||||
| //  -DTRIES=10
 | ||||
| //  -DSCALAR=double
 | ||||
| 
 | ||||
| #include <Eigen/Array> | ||||
| #include <iostream> | ||||
| 
 | ||||
| #include <Eigen/Core> | ||||
| #include <Eigen/QR> | ||||
| #include <bench/BenchUtil.h> | ||||
| using namespace Eigen; | ||||
|  | ||||
| @ -22,6 +22,8 @@ | ||||
| // License and a copy of the GNU General Public License along with
 | ||||
| // Eigen. If not, see <http://www.gnu.org/licenses/>.
 | ||||
| 
 | ||||
| #include <iostream> | ||||
| 
 | ||||
| #include <bench/BenchUtil.h> | ||||
| #include <complex> | ||||
| #include <vector> | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| 
 | ||||
| #include <iostream> | ||||
| #include <Eigen/Core> | ||||
| #include <bench/BenchTimer.h> | ||||
| using namespace Eigen; | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| #include <typeinfo> | ||||
| #include <Eigen/Array> | ||||
| #include <iostream> | ||||
| #include <Eigen/Core> | ||||
| #include "BenchTimer.h" | ||||
| using namespace Eigen; | ||||
| using namespace std; | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| 
 | ||||
| #include <Eigen/Array> | ||||
| #include <iostream> | ||||
| #include <Eigen/Core> | ||||
| #include <bench/BenchUtil.h> | ||||
| using namespace Eigen; | ||||
| 
 | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #include <iostream> | ||||
| #include <Eigen/Core> | ||||
| using namespace Eigen; | ||||
| using namespace std; | ||||
|  | ||||
| @ -1,5 +1,8 @@ | ||||
| // g++ -O3 -DNDEBUG -DMATSIZE=<x> benchmark.cpp -o benchmark && time ./benchmark
 | ||||
| #include <Eigen/Array> | ||||
| 
 | ||||
| #include <iostream> | ||||
| 
 | ||||
| #include <Eigen/Core> | ||||
| 
 | ||||
| #ifndef MATSIZE | ||||
| #define MATSIZE 3 | ||||
|  | ||||
| @ -1,6 +1,8 @@ | ||||
| // g++ -O3 -DNDEBUG benchmarkX.cpp -o benchmarkX && time ./benchmarkX
 | ||||
| 
 | ||||
| #include <Eigen/Array> | ||||
| #include <iostream> | ||||
| 
 | ||||
| #include <Eigen/Core> | ||||
| 
 | ||||
| using namespace std; | ||||
| using namespace Eigen; | ||||
|  | ||||
| @ -1,4 +1,7 @@ | ||||
| // g++ -fopenmp -I .. -O3 -DNDEBUG -finline-limit=1000 benchmarkX.cpp -o b && time ./b
 | ||||
| 
 | ||||
| #include <iostream> | ||||
| 
 | ||||
| #include <Eigen/Core> | ||||
| 
 | ||||
| using namespace std; | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| // g++ -O3 -DNDEBUG benchmarkX.cpp -o benchmarkX && time ./benchmarkX
 | ||||
| 
 | ||||
| #include <iostream> | ||||
| #include <Eigen/Core> | ||||
| 
 | ||||
| using namespace std; | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| 
 | ||||
| #include <iostream> | ||||
| #include <Eigen/Geometry> | ||||
| #include <bench/BenchTimer.h> | ||||
| using namespace Eigen; | ||||
| @ -242,4 +243,5 @@ int main() | ||||
|   BENCH(slerp_legacy_nlerp); | ||||
|   BENCH(slerp_rw); | ||||
|   BENCH(slerp_gael); | ||||
| } | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| // #define EIGEN_TAUCS_SUPPORT
 | ||||
| // #define EIGEN_CHOLMOD_SUPPORT
 | ||||
| #include <iostream> | ||||
| #include <Eigen/Sparse> | ||||
| 
 | ||||
| // g++ -DSIZE=10000 -DDENSITY=0.001  sparse_cholesky.cpp -I.. -DDENSEMATRI -O3 -g0 -DNDEBUG   -DNBTRIES=1 -I /home/gael/Coding/LinearAlgebra/taucs_full/src/ -I/home/gael/Coding/LinearAlgebra/taucs_full/build/linux/  -L/home/gael/Coding/LinearAlgebra/taucs_full/lib/linux/ -ltaucs /home/gael/Coding/LinearAlgebra/GotoBLAS/libgoto.a -lpthread -I /home/gael/Coding/LinearAlgebra/SuiteSparse/CHOLMOD/Include/ $CHOLLIB -I /home/gael/Coding/LinearAlgebra/SuiteSparse/UFconfig/ /home/gael/Coding/LinearAlgebra/SuiteSparse/CCOLAMD/Lib/libccolamd.a   /home/gael/Coding/LinearAlgebra/SuiteSparse/CHOLMOD/Lib/libcholmod.a -lmetis /home/gael/Coding/LinearAlgebra/SuiteSparse/AMD/Lib/libamd.a  /home/gael/Coding/LinearAlgebra/SuiteSparse/CAMD/Lib/libcamd.a   /home/gael/Coding/LinearAlgebra/SuiteSparse/CCOLAMD/Lib/libccolamd.a  /home/gael/Coding/LinearAlgebra/SuiteSparse/COLAMD/Lib/libcolamd.a -llapack && ./a.out
 | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| #include <Eigen/Array> | ||||
| #include <iostream> | ||||
| #include <Eigen/Core> | ||||
| 
 | ||||
| using namespace Eigen; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thomas Capricelli
						Thomas Capricelli