9.3.8 : The compilation

Let's compile :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
$ make
-- Configuring done
-- Generating done
-- Build files have been written to: ExampleOptimisation/build
[  2%] Built target hadamard_product_O2
[  4%] Built target hadamard_product_O1
[  6%] Built target hadamard_product_vectorize
[  8%] Built target hadamard_product_O0
[ 11%] Built target hadamard_product_O3
[ 13%] Built target hadamard_product_Ofast
[ 15%] Built target hadamard_product_intrinsics
[ 17%] Built target asterics_hpc
[ 20%] Built target saxpy_O2
[ 22%] Built target saxpy_O0
[ 24%] Built target saxpy_O3
[ 26%] Built target saxpy_O1
[ 28%] Built target saxpy_Ofast
[ 31%] Built target saxpy_vectorize
[ 33%] Built target saxpy_intrinsics
[ 35%] Built target reduction_real_O2
[ 37%] Built target reduction_real_intrinsics_interleave8_O3
[ 42%] Built target reduction_real_O1
[ 44%] Built target reduction_real_Ofast
[ 46%] Built target reduction_O0
[ 48%] Built target reduction_O1
[ 51%] Built target reduction_O2
[ 53%] Built target reduction_O3
[ 57%] Built target reduction_real_intrinsics_interleave4_O3
[ 60%] Built target reduction_real_vectorize_Ofast
[ 62%] Built target reduction_real_intrinsics_interleave2_O3
[ 66%] Built target reduction_real_intrinsics_O3
[ 71%] Built target reduction_real_O3
[ 73%] Built target reduction_real_O0
[ 77%] Built target reduction_real_vectorize_O3
[ 80%] Built target barycentre_base_O2
[ 84%] Built target barycentre_base_O1
[ 86%] Built target barycentre_base_O0
Scanning dependencies of target barycentre_vectorizeSplit_O3
[ 88%] Building CXX object 5-Barycentre/CMakeFiles/barycentre_vectorizeSplit_O3.dir/barycentre_vectorizeSplit.cpp.o
[ 88%] Building CXX object 5-Barycentre/CMakeFiles/barycentre_vectorizeSplit_O3.dir/main_barycentre_vectorizeSplit.cpp.o
[ 91%] Linking CXX executable barycentre_vectorizeSplit_O3
[ 91%] Built target barycentre_vectorizeSplit_O3
[ 93%] Built target barycentre_base_Ofast
[ 97%] Built target barycentre_base_O3
Scanning dependencies of target barycentre_vectorize_O3
[ 97%] Building CXX object 5-Barycentre/CMakeFiles/barycentre_vectorize_O3.dir/barycentre_vectorize.cpp.o
[100%] Building CXX object 5-Barycentre/CMakeFiles/barycentre_vectorize_O3.dir/main_barycentre_vectorize.cpp.o
[100%] Linking CXX executable barycentre_vectorize_O3
[100%] Built target barycentre_vectorize_O3
Let's get the performances :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
$ make plot_all
[  1%] Built target asterics_hpc
[  2%] Built target barycentre_vectorize_O3
[  4%] Built target barycentre_vectorizeSplit_O3
[  7%] Built target barycentre_base_O3
Scanning dependencies of target plot_barycentreVectorize
[  8%] Run barycentre_vectorizeSplit_O3 program
Barycentre vectorize
evaluateBarycentre : nbElement = 1000, cyclePerElement = 5.911 cy/el, elapsedTime = 5911 cy
evaluateBarycentre : nbElement = 2000, cyclePerElement = 5.932 cy/el, elapsedTime = 11864 cy
evaluateBarycentre : nbElement = 3000, cyclePerElement = 5.95133 cy/el, elapsedTime = 17854 cy
evaluateBarycentre : nbElement = 5000, cyclePerElement = 5.9814 cy/el, elapsedTime = 29907 cy
evaluateBarycentre : nbElement = 10000, cyclePerElement = 5.9781 cy/el, elapsedTime = 59781 cy
[  8%] Run barycentre_vectorize_O3 program
Barycentre vectorize
evaluateBarycentre : nbElement = 1000, cyclePerElement = 6.717 cy/el, elapsedTime = 6717 cy
evaluateBarycentre : nbElement = 2000, cyclePerElement = 6.725 cy/el, elapsedTime = 13450 cy
evaluateBarycentre : nbElement = 3000, cyclePerElement = 6.746 cy/el, elapsedTime = 20238 cy
evaluateBarycentre : nbElement = 5000, cyclePerElement = 6.7698 cy/el, elapsedTime = 33849 cy
evaluateBarycentre : nbElement = 10000, cyclePerElement = 6.7572 cy/el, elapsedTime = 67572 cy
[  8%] Call gnuplot barycentreVectorize
[  9%] Built target plot_barycentreVectorize
[ 10%] Built target hadamard_product_intrinsics
[ 12%] Built target hadamard_product_vectorize
[ 13%] Built target hadamard_product_O3
[ 15%] Built target plot_hadamardIntrinsics
[ 17%] Built target hadamard_product_Ofast
[ 18%] Built target hadamard_product_O2
[ 19%] Built target hadamard_product_O1
[ 20%] Built target hadamard_product_O0
[ 24%] Built target plot_hadamardBase
[ 25%] Built target plot_hadamardVectorize
[ 26%] Built target saxpy_intrinsics
[ 28%] Built target saxpy_O3
[ 29%] Built target saxpy_vectorize
[ 31%] Built target plot_saxpyIntrinsics
[ 32%] Built target plot_saxpyVectorize
[ 34%] Built target saxpy_Ofast
[ 35%] Built target saxpy_O2
[ 36%] Built target saxpy_O0
[ 37%] Built target saxpy_O1
[ 41%] Built target plot_saxpyBase
[ 43%] Built target reduction_real_intrinsics_O3
[ 45%] Built target reduction_real_intrinsics_interleave8_O3
[ 46%] Built target reduction_real_Ofast
[ 48%] Built target reduction_real_intrinsics_interleave4_O3
[ 50%] Built target reduction_real_vectorize_Ofast
[ 51%] Built target reduction_real_intrinsics_interleave2_O3
[ 54%] Built target plot_reductionIntrinsicsInterleave8
[ 57%] Built target reduction_real_vectorize_O3
[ 59%] Built target reduction_real_O3
[ 63%] Built target plot_reductionVectorize
[ 64%] Built target reduction_O3
[ 65%] Built target reduction_O0
[ 67%] Built target reduction_O1
[ 68%] Built target reduction_O2
[ 71%] Built target plot_reductionBase
[ 73%] Built target reduction_real_O0
[ 74%] Built target reduction_real_O2
[ 76%] Built target reduction_real_O1
[ 80%] Built target plot_reductionReal
[ 82%] Built target plot_reductionIntrinsicsInterleave2
[ 86%] Built target plot_reductionIntrinsicsInterleave4
[ 90%] Built target plot_reductionIntrinsics
[ 91%] Built target barycentre_base_O2
[ 93%] Built target barycentre_base_O1
[ 95%] Built target barycentre_base_O0
[ 96%] Built target barycentre_base_Ofast
[100%] Built target plot_barycentreBase
[100%] Built target plot_all