| Function: k_means(int, point_t*, point_t*, int*, point_t*, int, int) [clone ._omp_fn.0] | Module: kmeans-gcc-Ofast | Source: main.cpp:58-67 | Coverage (incl. loops): 94.24% | (excl. loops): 0.00% |
|---|
| Function: k_means(int, point_t*, point_t*, int*, point_t*, int, int) [clone ._omp_fn.0] | Module: kmeans-gcc-Ofast | Source: main.cpp:58-67 | Coverage (incl. loops): 94.24% | (excl. loops): 0.00% |
|---|
/home/fmusial/KMEANS_Benchmarks/kmeans/main.cpp: 58 - 67 |
-------------------------------------------------------------------------------- |
58: #pragma omp parallel for |
59: for (int i = 0; i < n; ++i) { |
60: double optimal_dist = DBL_MAX; |
61: for (int j = 0; j < k; ++j) { |
62: double dist = |
63: (points[i].x - centroids[j].x) * (points[i].x - centroids[j].x) + |
64: (points[i].y - centroids[j].y) * (points[i].y - centroids[j].y); |
65: if (dist < optimal_dist) { |
66: optimal_dist = dist; |
67: assignment[i] = j; |
0x401b60 STP X29, X30, [SP, #976]! |
0x401b64 ADD X29, SP, #0 |
0x401b68 STP X19, X20, [SP, #16] |
0x401b6c ORR X20, XZR, X0 |
0x401b70 STR X21, [SP, #32] |
0x401b74 LDR W21, [X0, #24] |
0x401b78 BL 401770 |
0x401b7c ORR W19, WZR, W0 |
0x401b80 BL 4016d0 |
0x401b84 ORR W4, WZR, W0 |
0x401b88 SDIV W6, W21, W19 |
0x401b8c MSUB W1, W6, W19, W21 |
0x401b90 CMP W0, W1 |
0x401b94 B.LT 401c30 |
(3) 0x401b98 MADD W4, W6, W4, W1 |
(3) 0x401b9c ADD W6, W6, W4 |
(3) 0x401ba0 CMP W4, W6 |
(3) 0x401ba4 B.GE 401c20 |
(3) 0x401ba8 LDR W2, [X20, #28] |
(3) 0x401bac LDP X1, X7, [X20] |
(3) 0x401bb0 LDR X5, [X20, #16] |
(3) 0x401bb4 CMP W2, #0 |
(3) 0x401bb8 B.LE 401c20 |
(3) 0x401bbc MOVN X0, #32784 |
(3) 0x401bc0 SBFM X3, X4, #0, #31 |
(3) 0x401bc4 ADD X4, X1, W4,SXTW #4 |
(3) 0x401bc8 FMOV D26, X0 |
(5) 0x401bcc LDP D28, D27, [X4] |
(5) 0x401bd0 FMOV D29, D26 |
(5) 0x401bd4 ORR X0, XZR, X7 |
(5) 0x401bd8 MOVZ W1, #0 |
(5) 0x401bdc HINT #0 |
(4) 0x401be0 LDP D31, D30, [X0], #16 |
(4) 0x401be4 FSUB D30, D27, S30 |
(4) 0x401be8 FSUB D31, D28, S31 |
(4) 0x401bec FMUL D30, D30, D30 |
(4) 0x401bf0 FMADD D31, D31, D31, D30 |
(4) 0x401bf4 FCMPE D29, D31 |
(4) 0x401bf8 B.LS 401c04 |
(4) 0x401bfc FMOV D29, D31 |
(4) 0x401c00 STR W1, [X5, X3,LSL #2] |
(4) 0x401c04 ADD W1, W1, #1 |
(4) 0x401c08 CMP W2, W1 |
(4) 0x401c0c B.NE 401be0 |
(5) 0x401c10 ADD X3, X3, #1 |
(5) 0x401c14 ADD X4, X4, #16 |
(5) 0x401c18 CMP W6, W3 |
(5) 0x401c1c B.GT 401bcc |
(3) 0x401c20 LDR X21, [SP, #32] |
(3) 0x401c24 LDP X19, X20, [SP, #16] |
(3) 0x401c28 LDP X29, X30, [SP], #48 |
(3) 0x401c2c RET |
(3) 0x401c30 ADD W6, W6, #1 |
(3) 0x401c34 MOVZ W1, #0 |
(3) 0x401c38 B 401b98 |
0x401c3c HINT #0 |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►100.00+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►50.00+ | gomp_thread_start | team.c:130 | libgomp.so.1.0.0 |
| ○ | start_thread | libpthread-2.31.so | |
| ○ | __clone | libc-2.31.so | |
| ►50.00+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►74.97+ | gomp_thread_start | team.c:130 | libgomp.so.1.0.0 |
| ○ | start_thread | libpthread-2.31.so | |
| ○ | __clone | libc-2.31.so | |
| ►25.03+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►87.26+ | gomp_thread_start | team.c:130 | libgomp.so.1.0.0 |
| ○ | start_thread | libpthread-2.31.so | |
| ○ | __clone | libc-2.31.so | |
| ►12.74+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►93.67+ | gomp_thread_start | team.c:130 | libgomp.so.1.0.0 |
| ○ | start_thread | libpthread-2.31.so | |
| ○ | __clone | libc-2.31.so | |
| ►6.33+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►96.88+ | gomp_thread_start | team.c:130 | libgomp.so.1.0.0 |
| ○ | start_thread | libpthread-2.31.so | |
| ○ | __clone | libc-2.31.so | |
| ►3.12+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►97.95+ | gomp_thread_start | team.c:130 | libgomp.so.1.0.0 |
| ○ | start_thread | libpthread-2.31.so | |
| ○ | __clone | libc-2.31.so | |
| ►2.05+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►98.46+ | gomp_thread_start | team.c:130 | libgomp.so.1.0.0 |
| ○ | start_thread | libpthread-2.31.so | |
| ○ | __clone | libc-2.31.so | |
| ►1.54+ | GOMP_parallel | libgomp.h:980 | libgomp.so.1.0.0 |
| ○ | k_means(int, point_t*, point_t[...] | main.cpp:73 | kmeans-gcc-Ofast |
| ○ | main | main.cpp:19 | kmeans-gcc-Ofast |
| ○ | __libc_start_main | libc-2.31.so | |
| ○ | _start | new_allocator.h:104 | kmeans-gcc-Ofast |
| min | med | avg | max |
|---|---|---|---|
| Percentile Index | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value |
| min | med | avg | max |
|---|---|---|---|
| Percentile Index | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value |
| Path / |
The code analyzed by CQA in that panel excludes loops and represents 0.00% of application time for run run_1_thread
| Source file and lines | main.cpp:58-67 |
| Module | kmeans-gcc-Ofast |
| nb instructions | 15 |
| nb uops | 14 |
| loop length | 60 |
| used w registers | 7 |
| used x registers | 7 |
| used b registers | 0 |
| used h registers | 0 |
| used s registers | 1 |
| used d registers | 0 |
| used q registers | 0 |
| used v registers | 0 |
| used z registers | 0 |
| nb stack references | 3 |
| micro-operation queue | 1.75 cycles |
| front end | 1.75 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 1.50 | 1.50 | 2.50 | 2.50 | 2.50 | 2.50 | 0.00 | 0.00 | 0.00 | 0.00 | 1.50 | 1.50 | 1.00 | 1.50 | 1.50 |
| cycles | 1.50 | 1.50 | 2.50 | 2.50 | 2.50 | 2.50 | 0.00 | 0.00 | 0.00 | 0.00 | 1.50 | 1.50 | 1.00 | 1.50 | 1.50 |
| Cycles executing div or sqrt instructions | 5.00-12.50 |
| Front-end | 1.75 |
| Dispatch | 2.50 |
| DIV/SQRT | 5.00-12.50 |
| Overall L1 | 5.00-12.50 |
| all | 0% |
| load | 0% |
| store | 0% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 0% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | 0% |
| other | 0% |
| all | 25% |
| load | 12% |
| store | 41% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 25% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | 12% |
| other | 16% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| STP X29, X30, [SP, #976]! | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0.50 | 0.50 | 1 | 0.50 | scal (50.0%) |
| ADD X29, SP, #0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (25.0%) |
| STP X19, X20, [SP, #16] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0.50 | 0.50 | 1 | 0.50 | scal (50.0%) |
| ORR X20, XZR, X0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (25.0%) |
| STR X21, [SP, #32] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0.50 | 0.50 | 1 | 0.50 | scal (25.0%) |
| LDR W21, [X0, #24] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 4 | 0.33 | scal (12.5%) |
| BL 401770 <@plt_start@+0x270> | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 | N/A |
| ORR W19, WZR, W0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| BL 4016d0 <@plt_start@+0x1d0> | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 | N/A |
| ORR W4, WZR, W0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| SDIV W6, W21, W19 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5-12 | 5-12.50 | scal (12.5%) |
| MSUB W1, W6, W19, W21 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | N/A |
| CMP W0, W1 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| B.LT 401c30 <_Z7k_meansiP7point_tS0_PiS0_ii._omp_fn.0+0xd0> | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 | N/A |
| HINT #0 | N/A |
The code analyzed by CQA in that panel excludes loops and represents 0.00% of application time for run run_1_thread
| Source file and lines | main.cpp:58-67 |
| Module | kmeans-gcc-Ofast |
| nb instructions | 15 |
| nb uops | 14 |
| loop length | 60 |
| used w registers | 7 |
| used x registers | 7 |
| used b registers | 0 |
| used h registers | 0 |
| used s registers | 1 |
| used d registers | 0 |
| used q registers | 0 |
| used v registers | 0 |
| used z registers | 0 |
| nb stack references | 3 |
| micro-operation queue | 1.75 cycles |
| front end | 1.75 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 1.50 | 1.50 | 2.50 | 2.50 | 2.50 | 2.50 | 0.00 | 0.00 | 0.00 | 0.00 | 1.50 | 1.50 | 1.00 | 1.50 | 1.50 |
| cycles | 1.50 | 1.50 | 2.50 | 2.50 | 2.50 | 2.50 | 0.00 | 0.00 | 0.00 | 0.00 | 1.50 | 1.50 | 1.00 | 1.50 | 1.50 |
| Cycles executing div or sqrt instructions | 5.00-12.50 |
| Front-end | 1.75 |
| Dispatch | 2.50 |
| DIV/SQRT | 5.00-12.50 |
| Overall L1 | 5.00-12.50 |
| all | 0% |
| load | 0% |
| store | 0% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 0% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | 0% |
| other | 0% |
| all | 25% |
| load | 12% |
| store | 41% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 25% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | 12% |
| other | 16% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| STP X29, X30, [SP, #976]! | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0.50 | 0.50 | 1 | 0.50 | scal (50.0%) |
| ADD X29, SP, #0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (25.0%) |
| STP X19, X20, [SP, #16] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0.50 | 0.50 | 1 | 0.50 | scal (50.0%) |
| ORR X20, XZR, X0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (25.0%) |
| STR X21, [SP, #32] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0.50 | 0.50 | 1 | 0.50 | scal (25.0%) |
| LDR W21, [X0, #24] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 4 | 0.33 | scal (12.5%) |
| BL 401770 <@plt_start@+0x270> | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 | N/A |
| ORR W19, WZR, W0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| BL 4016d0 <@plt_start@+0x1d0> | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 | N/A |
| ORR W4, WZR, W0 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| SDIV W6, W21, W19 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5-12 | 5-12.50 | scal (12.5%) |
| MSUB W1, W6, W19, W21 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | N/A |
| CMP W0, W1 | 1 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| B.LT 401c30 <_Z7k_meansiP7point_tS0_PiS0_ii._omp_fn.0+0xd0> | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 | N/A |
| HINT #0 | N/A |
| Run run_1_thread | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 1 |
|---|---|
| Run run_2_threads | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 2 |
| Run run_4_threads | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 4 |
| Run run_8_threads | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 8 |
| Run run_16_threads | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 16 |
| Run run_32_threads | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 32 |
| Run run_48_threads | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 48 |
| Run run_64_threads | Number processes: 1Number nodes: 1Number processes per node: 1Run Command: <executable> input/100000000.in 1000 100000000 50 25MPI Command: Dataset: Run Directory: /home/fmusial/KMEANS_BenchmarksOMP_PROC_BIND: trueOMP_NUM_THREADS: 64 |
| (run_1_thread) Efficiency | (run_1_thread) Potential Speed-Up (%) | (run_2_threads) Efficiency | (run_2_threads) Potential Speed-Up (%) | (run_4_threads) Efficiency | (run_4_threads) Potential Speed-Up (%) | (run_8_threads) Efficiency | (run_8_threads) Potential Speed-Up (%) | (run_16_threads) Efficiency | (run_16_threads) Potential Speed-Up (%) | (run_32_threads) Efficiency | (run_32_threads) Potential Speed-Up (%) | (run_48_threads) Efficiency | (run_48_threads) Potential Speed-Up (%) | (run_64_threads) Efficiency | (run_64_threads) Potential Speed-Up (%) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0 | 0.93 | 6.65 | 0.82 | 17.15 | 0.69 | 29.6 | 0.52 | 45.74 | 0.34 | 62.2 | 0.25 | 70.93 | 0.2 | 76.2 |
| Run | Number of threads | Efficiency (ideal is 1) | Speedup | Ideal Speedup | Time (s) | Coverage (%) |
|---|---|---|---|---|---|---|
| run_1_thread | 1 | 1 | 1 | 1 | 152.47291564941 | 94.235481262207 |
| run_2_threads | 2 | 0.93 | 1.86 | 2 | 77.625999450684 | 94.329132080078 |
| run_4_threads | 4 | 0.82 | 3.27 | 4 | 40.551971435547 | 94.478134155273 |
| run_8_threads | 8 | 0.69 | 5.49 | 8 | 20.320995330811 | 94.389587402344 |
| run_16_threads | 16 | 0.52 | 8.25 | 16 | 10.438991546631 | 94.478912353516 |
| run_32_threads | 32 | 0.34 | 10.98 | 32 | 5.5099964141846 | 94.702087402344 |
| run_48_threads | 48 | 0.25 | 12.18 | 48 | 4.0069966316223 | 95.059875488281 |
| run_64_threads | 64 | 0.2 | 12.86 | 64 | 3.2499995231628 | 95.359764099121 |
| Name | Coverage (%) | Time (s) |
|---|---|---|
| ▼k_means(int, point_t*, point_t*, int*, point_t*, int, int) [clone ._omp_fn.0]– | 94.24 | 152.47 |
| ▼Loop 3 - main.cpp:58-67 - kmeans-gcc-Ofast– | 0.00 | 0.00 |
| ▼Loop 5 - main.cpp:60-67 - kmeans-gcc-Ofast– | 1.22 | 1.98 |
| ○Loop 4 - main.cpp:61-67 - kmeans-gcc-Ofast | 93.01 | 150.49 |
