| ID | Module | Source Location | Source Function | Level | Max Time Over Threads (s) | Time w.r.t. Wall Time (s) | Coverage (% app. time) | Speedup if no scalar integer | Speedup if FP arith vectorized | Speedup if fully vectorized | Speedup if FP only | Number of paths | Vectorization Ratio (%) | Vector Length Use (%) | CQA cycles | CQA cycles if no scalar integer | CQA cycles if FP arith vectorized | CQA cycles if fully vectorized | CQA cycles if FP only |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ○Loop 16 | attention-gcc-znver5-512 | attention_v2.cpp:30-31 | main | Innermost | 2.35 | 2.35 | 35.20 | 1.00 | 1.88 | 13.33 | 1.00 | 1 | 0.00 | 8.75 | 2.00 | 2.00 | 1.06 | 0.15 | 2.00 |
| ○Loop 13 | attention-gcc-znver5-512 | attention_v2.cpp:30-31 | main | Innermost | 1.79 | 1.79 | 26.76 | 1.00 | 1.88 | 13.33 | 1.00 | 1 | 0.00 | 8.75 | 2.00 | 2.00 | 1.06 | 0.15 | 2.00 |
| ○Loop 8 | attention-gcc-znver5-512 | attention_v2.cpp:30-31 | main | Innermost | 0.41 | 0.42 | 6.20 | 1.00 | 1.88 | 13.33 | 1.00 | 1 | 0.00 | 8.75 | 2.00 | 2.00 | 1.06 | 0.15 | 2.00 |
| ○Loop 5 | attention-gcc-znver5-512 | attention_v2.cpp:30-31 | main | Innermost | 0.37 | 0.37 | 5.46 | 1.00 | 1.88 | 13.33 | 1.00 | 1 | 0.00 | 8.75 | 2.00 | 2.00 | 1.06 | 0.15 | 2.00 |
| ○Loop 2 | attention-gcc-znver5-512 | attention_v2.cpp:30-31 | main | Innermost | 0.34 | 0.34 | 5.01 | 1.00 | 1.88 | 13.33 | 1.00 | 1 | 0.00 | 8.75 | 2.00 | 2.00 | 1.06 | 0.15 | 2.00 |
| ○Loop 28 | attention-gcc-znver5-512 | attention_v2.cpp:55-56 | softmax(float const*, float*, float*, int) | Innermost | 0.25 | 0.25 | 3.74 | 1.00 | 2.50 | 16.00 | 1.00 | 1 | 0.00 | 6.25 | 2.50 | 2.50 | 1.00 | 0.16 | 2.50 |
| ○Loop 14 | attention-gcc-znver5-512 | attention_v2.cpp:27-30,attention_v2.cpp:33-33,attention_v2.cpp:236-236 | main | InBetween | 0.23 | 0.23 | 3.44 | 1.63 | 3.25 | 14.93 | 1.63 | 1 | 16.67 | 11.46 | 1.63 | 1.00 | 0.50 | 0.11 | 1.00 |
| ○Loop 27 | attention-gcc-znver5-512 | attention_v2.cpp:52-53 | softmax(float const*, float*, float*, int) | Innermost | 0.07 | 0.07 | 1.05 | 1.00 | 1.00 | 16.00 | 1.00 | 1 | 0.00 | 6.25 | 1.00 | 1.00 | 1.00 | 0.06 | 1.00 |
| ○Loop 6 | attention-gcc-znver5-512 | attention_v2.cpp:26-30,attention_v2.cpp:33-33 | main | InBetween | 0.05 | 0.04 | 0.67 | 1.50 | 1.00 | 14.86 | 1.50 | 1 | 25.00 | 12.50 | 1.50 | 1.00 | 1.50 | 0.10 | 1.00 |
| ○Loop 3 | attention-gcc-znver5-512 | random.tcc:3374-3374,attention_v2.cpp:27-30,attention_v2.cpp:33-33 | main | InBetween | 0.04 | 0.04 | 0.52 | 1.38 | 1.00 | 14.77 | 1.38 | 1 | 25.00 | 12.50 | 1.38 | 1.00 | 1.38 | 0.09 | 1.00 |
| ○Loop 17 | attention-gcc-znver5-512 | attention_v2.cpp:26-30,attention_v2.cpp:33-33 | main | InBetween | 0.02 | 0.02 | 0.30 | 1.75 | 1.00 | 15.00 | 1.75 | 1 | 25.00 | 12.50 | 1.75 | 1.00 | 1.75 | 0.12 | 1.00 |
| ○Loop 9 | attention-gcc-znver5-512 | attention_v2.cpp:26-30,attention_v2.cpp:33-33 | main | InBetween | 0.02 | 0.02 | 0.30 | 1.63 | 1.00 | 14.93 | 1.63 | 1 | 25.00 | 12.50 | 1.63 | 1.00 | 1.63 | 0.11 | 1.00 |
| ○Loop 1 | attention-gcc-znver5-512 | random.h:248-248,random.tcc:333-339 | main | Innermost | 0.02 | 0.02 | 0.30 | 1.00 | 1.00 | 8.00 | 1.00 | 1 | 0.00 | 12.50 | 6.00 | 6.00 | 6.00 | 0.75 | 6.00 |
| ○Loop 22 | attention-gcc-znver5-512 | random.tcc:458-466,random.tcc:3367-3374,attention_v2.cpp:163-163 | main | Innermost | 0.01 | 0.01 | 0.15 | 2.96 | 2.57 | 12.58 | 4.25 | 2 | 9.13 | 11.53 | 4.25 | 1.44 | 1.65 | 0.34 | 1.00 |
| ○Loop 21 | attention-gcc-znver5-512 | random.tcc:458-466,random.tcc:3367-3374,attention_v2.cpp:164-167 | main | Innermost | 0.01 | 0.01 | 0.15 | 2.24 | 2.58 | 13.00 | 5.00 | 8 | 10.00 | 11.25 | 13.75 | 6.13 | 5.32 | 1.06 | 2.75 |
| ○Loop 30 | attention-gcc-znver5-512 | attention_v2.cpp:43-43,attention_v2.cpp:46-47,attention_v2.cpp:50-52,attention_v2.cpp:58-61 | softmax(float const*, float*, float*, int) | InBetween | 0.01 | 0.01 | 0.15 | 3.17 | 1.00 | 9.12 | 7.13 | 1 | 27.78 | 15.63 | 7.13 | 2.25 | 7.13 | 0.78 | 1.00 |
| ○Loop 19 | attention-gcc-znver5-512 | attention_v2.cpp:306-306,stl_vector.h:2209-2209,stl_uninitialized.h:895-895,stl_algobase.h:925-925 | main | Outermost | 0.00 | 0.01 | 0.07 | 1.00 | 1.00 | 9.14 | 5.33 | 1 | 0.00 | 11.72 | 2.00 | 2.00 | 2.00 | 0.22 | 0.38 |
| ○Loop 12 | attention-gcc-znver5-512 | attention_v2.cpp:26-26,attention_v2.cpp:236-236 | main | InBetween | 0.00 | 0.01 | 0.07 | 1.00 | 1.00 | 8.00 | 1.00 | 1 | 0.00 | 12.50 | 1.00 | 1.00 | 1.00 | 0.13 | 1.00 |
| ○Loop 11 | attention-gcc-znver5-512 | attention_v2.cpp:237-238 | main | Innermost | 0.00 | 0.01 | 0.07 | 1.00 | 1.00 | 16.00 | 1.00 | 1 | 0.00 | 6.25 | 1.00 | 1.00 | 1.00 | 0.06 | 1.00 |
| ○Loop 31 | attention-gcc-znver5-512 | attention_v2.cpp:47-48 | softmax(float const*, float*, float*, int) | InBetween | 0.00 | 0.01 | 0.07 | 1.00 | 1.00 | 5.49 | 2.25 | 1 | 38.10 | 15.18 | 6.00 | 6.00 | 6.00 | 1.09 | 2.67 |