• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

btl/22-Nov-2023-11,0636,685

spbench/22-Nov-2023-1,065818

BenchSparseUtil.hD22-Nov-20233.8 KiB150129

BenchTimer.hD22-Nov-20234.2 KiB188140

BenchUtil.hD22-Nov-20232.5 KiB9380

README.txtD22-Nov-20232 KiB5639

basicbench.cxxlistD22-Nov-20231.4 KiB296

basicbenchmark.cppD22-Nov-20231.1 KiB3623

basicbenchmark.hD22-Nov-20231.6 KiB6453

benchBlasGemm.cppD22-Nov-20236.2 KiB220175

benchCholesky.cppD22-Nov-20233.5 KiB143106

benchEigenSolver.cppD22-Nov-20235.7 KiB213162

benchFFT.cppD22-Nov-20232.7 KiB11686

benchGeometry.cppD22-Nov-20233.5 KiB135116

benchVecAdd.cppD22-Nov-20235.1 KiB13692

bench_gemm.cppD22-Nov-20239 KiB272225

bench_multi_compilers.shD22-Nov-2023618 2918

bench_norm.cppD22-Nov-202311.2 KiB346285

bench_reverse.cppD22-Nov-20232.1 KiB8559

bench_sum.cppD22-Nov-2023320 1917

bench_unrollingD22-Nov-2023651 137

benchmark.cppD22-Nov-2023790 4031

benchmarkSlice.cppD22-Nov-2023835 3930

benchmarkX.cppD22-Nov-2023640 3728

benchmarkXcwise.cppD22-Nov-2023605 3628

benchmark_suiteD22-Nov-20231.2 KiB1917

check_cache_queries.cppD22-Nov-20233.2 KiB10285

eig33.cppD22-Nov-20237 KiB19794

geometry.cppD22-Nov-20233.2 KiB127107

product_threshold.cppD22-Nov-20233.2 KiB144115

quat_slerp.cppD22-Nov-20235.9 KiB248189

quatmul.cppD22-Nov-20231.1 KiB4835

sparse_cholesky.cppD22-Nov-20236.1 KiB217142

sparse_dense_product.cppD22-Nov-20235 KiB188126

sparse_lu.cppD22-Nov-20232.9 KiB13396

sparse_product.cppD22-Nov-20238.8 KiB324153

sparse_randomsetter.cppD22-Nov-20233.3 KiB12675

sparse_setter.cppD22-Nov-202313.4 KiB486357

sparse_transpose.cppD22-Nov-20232.3 KiB10575

sparse_trisolver.cppD22-Nov-20236 KiB221157

spmv.cppD22-Nov-20236 KiB234155

vdw_new.cppD22-Nov-20231.2 KiB5735

README.txt

1
2This folder contains a couple of benchmark utities and Eigen benchmarks.
3
4****************************
5* bench_multi_compilers.sh *
6****************************
7
8This script allows to run a benchmark on a set of different compilers/compiler options.
9It takes two arguments:
10 - a file defining the list of the compilers with their options
11 - the .cpp file of the benchmark
12
13Examples:
14
15$ ./bench_multi_compilers.sh basicbench.cxxlist basicbenchmark.cpp
16
17    g++-4.1 -O3 -DNDEBUG -finline-limit=10000
18    3d-3x3   /   4d-4x4   /   Xd-4x4   /   Xd-20x20   /
19    0.271102   0.131416   0.422322   0.198633
20    0.201658   0.102436   0.397566   0.207282
21
22    g++-4.2 -O3 -DNDEBUG -finline-limit=10000
23    3d-3x3   /   4d-4x4   /   Xd-4x4   /   Xd-20x20   /
24    0.107805   0.0890579   0.30265   0.161843
25    0.127157   0.0712581   0.278341   0.191029
26
27    g++-4.3 -O3 -DNDEBUG -finline-limit=10000
28    3d-3x3   /   4d-4x4   /   Xd-4x4   /   Xd-20x20   /
29    0.134318   0.105291   0.3704   0.180966
30    0.137703   0.0732472   0.31225   0.202204
31
32    icpc -fast -DNDEBUG -fno-exceptions -no-inline-max-size
33    3d-3x3   /   4d-4x4   /   Xd-4x4   /   Xd-20x20   /
34    0.226145   0.0941319   0.371873   0.159433
35    0.109302   0.0837538   0.328102   0.173891
36
37
38$ ./bench_multi_compilers.sh ompbench.cxxlist ompbenchmark.cpp
39
40    g++-4.2 -O3 -DNDEBUG -finline-limit=10000 -fopenmp
41    double, fixed-size 4x4: 0.00165105s  0.0778739s
42    double, 32x32: 0.0654769s 0.075289s  => x0.869674 (2)
43    double, 128x128: 0.054148s 0.0419669s  => x1.29025 (2)
44    double, 512x512: 0.913799s 0.428533s  => x2.13239 (2)
45    double, 1024x1024: 14.5972s 9.3542s  => x1.5605 (2)
46
47    icpc -fast -DNDEBUG -fno-exceptions -no-inline-max-size -openmp
48    double, fixed-size 4x4: 0.000589848s  0.019949s
49    double, 32x32: 0.0682781s 0.0449722s  => x1.51823 (2)
50    double, 128x128: 0.0547509s 0.0435519s  => x1.25714 (2)
51    double, 512x512: 0.829436s 0.424438s  => x1.9542 (2)
52    double, 1024x1024: 14.5243s 10.7735s  => x1.34815 (2)
53
54
55
56