9.4.4 : 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
$ 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
[ 40%] Built target reduction_real_intrinsics_interleave8_O3
[ 42%] Built target reduction_real_O1
[ 44%] Built target reduction_real_Ofast
[ 44%] Built target reduction_O0
[ 46%] Built target reduction_O1
[ 48%] Built target reduction_O2
[ 51%] Built target reduction_O3
[ 53%] Built target reduction_real_intrinsics_interleave4_O3
[ 57%] Built target reduction_real_vectorize_Ofast
[ 60%] Built target reduction_real_intrinsics_interleave2_O3
[ 64%] Built target reduction_real_intrinsics_O3
[ 68%] Built target reduction_real_O3
[ 73%] Built target reduction_real_O0
[ 75%] Built target reduction_real_vectorize_O3
Scanning dependencies of target barycentre_intrinsics
[ 75%] Building CXX object 5-Barycentre/CMakeFiles/barycentre_intrinsics.dir/barycentre_intrinsics.cpp.o
[ 77%] Building CXX object 5-Barycentre/CMakeFiles/barycentre_intrinsics.dir/main_barycentre_intrinsics.cpp.o
[ 77%] Linking CXX executable barycentre_intrinsics
[ 77%] Built target barycentre_intrinsics
[ 80%] Built target barycentre_base_O2
[ 84%] Built target barycentre_base_O1
[ 86%] Built target barycentre_base_O0
[ 91%] Built target barycentre_vectorizeSplit_O3
[ 93%] Built target barycentre_base_Ofast
[ 97%] Built target barycentre_base_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
$ 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
[  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
[ 16%] Built target hadamard_product_Ofast
[ 18%] Built target hadamard_product_O2
[ 19%] Built target hadamard_product_O1
[ 20%] Built target hadamard_product_O0
[ 22%] Built target plot_hadamardBase
[ 25%] Built target plot_hadamardVectorize
[ 26%] Built target saxpy_intrinsics
[ 27%] Built target saxpy_O3
[ 28%] Built target saxpy_vectorize
[ 31%] Built target plot_saxpyIntrinsics
[ 33%] Built target plot_saxpyVectorize
[ 34%] Built target saxpy_Ofast
[ 36%] Built target saxpy_O2
[ 37%] Built target saxpy_O0
[ 38%] Built target saxpy_O1
[ 42%] Built target plot_saxpyBase
[ 44%] Built target reduction_real_intrinsics_O3
[ 46%] Built target reduction_real_intrinsics_interleave8_O3
[ 48%] Built target reduction_real_Ofast
[ 49%] Built target reduction_real_intrinsics_interleave4_O3
[ 51%] Built target reduction_real_vectorize_Ofast
[ 53%] Built target reduction_real_intrinsics_interleave2_O3
[ 56%] Built target plot_reductionIntrinsicsInterleave8
[ 57%] Built target reduction_real_vectorize_O3
[ 60%] Built target reduction_real_O3
[ 62%] Built target plot_reductionVectorize
[ 63%] Built target reduction_O3
[ 63%] Built target reduction_O0
[ 65%] Built target reduction_O1
[ 66%] Built target reduction_O2
[ 68%] Built target plot_reductionBase
[ 71%] Built target reduction_real_O0
[ 72%] Built target reduction_real_O2
[ 73%] Built target reduction_real_O1
[ 77%] Built target plot_reductionReal
[ 79%] Built target plot_reductionIntrinsicsInterleave2
[ 83%] Built target plot_reductionIntrinsicsInterleave4
[ 86%] Built target plot_reductionIntrinsics
[ 87%] Built target barycentre_intrinsics
Scanning dependencies of target plot_barycentreIntrinsics
[ 89%] Run barycentre_intrinsics program
Barycentre intrinsics
evaluateBarycentre : nbElement = 1024, cyclePerElement = 0.228516 cy/el, elapsedTime = 234 cy
evaluateBarycentre : nbElement = 2000, cyclePerElement = 0.2075 cy/el, elapsedTime = 415 cy
evaluateBarycentre : nbElement = 3024, cyclePerElement = 0.234458 cy/el, elapsedTime = 709 cy
evaluateBarycentre : nbElement = 5024, cyclePerElement = 0.318869 cy/el, elapsedTime = 1602 cy
evaluateBarycentre : nbElement = 10000, cyclePerElement = 0.3188 cy/el, elapsedTime = 3188 cy
[ 90%] Call gnuplot barycentreIntrinsics
[ 91%] Built target plot_barycentreIntrinsics
[ 92%] Built target barycentre_base_O2
[ 95%] Built target barycentre_base_O1
[ 96%] Built target barycentre_base_O0
[ 97%] Built target barycentre_base_Ofast
[100%] Built target plot_barycentreBase
[100%] Built target plot_all