vault backup: 2023-10-04 12:13:31

This commit is contained in:
Alice 2023-10-04 12:13:31 +01:00
parent e829078584
commit 6f6741a669
3 changed files with 19 additions and 10 deletions

View file

@ -4,11 +4,11 @@
"type": "split",
"children": [
{
"id": "acc5682fcfccc7e6",
"id": "3315871ba65ef140",
"type": "tabs",
"children": [
{
"id": "98e0287d38212615",
"id": "37b14566e757368b",
"type": "leaf",
"state": {
"type": "markdown",
@ -69,7 +69,7 @@
}
],
"direction": "horizontal",
"width": 300
"width": 328.5
},
"right": {
"id": "d8cc89662b1baf06",
@ -158,13 +158,13 @@
"digitalgarden:Digital Garden Publication Center": false
}
},
"active": "98e0287d38212615",
"active": "37b14566e757368b",
"lastOpenFiles": [
"Pasted image 20231004115209.png",
"Images/Pasted image 20231004115725.png",
"4a1s/CP/PL - Aula 4.md",
"Images",
"Images/Pasted image 20231004115135.png",
"4a1s/CP/PL - Aula 4.md",
"Images/Pasted image 20231004115209.png",
"Images",
"4a1s/CP/PL - Aula 3.md",
"4a1s/CP/PL - Aula 2.md",
"4a1s/RAS/Projeto.md",

View file

@ -9,7 +9,7 @@ B -> consecutive elements in a collumn
Não vai ser vetorizável.
#### b)
#### b) Enable vectorization
result of change cycles to i, k , j :
A -> same element
C -> consecutive elements in a row -> consecutive access in the vector
@ -29,8 +29,8 @@ Without vectorization:
With vectorization:
![[Pasted image 20231004115135.png]]
#### c)
Estimated: ( n^3 / 2 )* 8
#### c)Measure and analyze results
| N | Version | Time | CPI | \#I |
| --- | -------- | ---- | --- | --- |
@ -43,3 +43,12 @@ With vectorization:
>srun --partition=cpar perf stat -e cycles,instructions ./a.out
#### d) Vectorization fine-tuning
Ganhos de 4 vezes mais.
## Ex. 3
#### a)
2 operações em FP

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB