vault backup: 2023-10-04 12:03:31
This commit is contained in:
parent
4c83d1abe2
commit
e829078584
3 changed files with 19 additions and 5 deletions
3
.obsidian/workspace.json
vendored
3
.obsidian/workspace.json
vendored
|
@ -161,11 +161,12 @@
|
|||
"active": "98e0287d38212615",
|
||||
"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 3.md",
|
||||
"4a1s/CP/PL - Aula 2.md",
|
||||
"4a1s/CP/PL - Aula 4.md",
|
||||
"4a1s/RAS/Projeto.md",
|
||||
"4a1s/RAS/T - Aula 3.md",
|
||||
"4a1s/index.md",
|
||||
|
|
|
@ -24,9 +24,22 @@ Vai ser vetorizável.
|
|||
8B -> 64b
|
||||
2 elements
|
||||
|
||||
Without vectorization:
|
||||
![[Pasted image 20231004115725.png]]
|
||||
|
||||
With vectorization:
|
||||
![[Pasted image 20231004115135.png]]
|
||||
|
||||
| N | Version | Time | CPI | \#I | L1_DMiss | Miss/#I |
|
||||
| --- | ------- | ---- | --- | --- | -------- | ------- |
|
||||
| 512 | base() | | | | | |
|
||||
| 51 | | | | | | |
|
||||
#### c)
|
||||
|
||||
| N | Version | Time | CPI | \#I |
|
||||
| --- | -------- | ---- | --- | --- |
|
||||
| 512 | base_v()| 0.492484818 | 0.91 | 1113554887 |
|
||||
| 512 | vect() | 0.081604350 | 2.88 | 578275097 |
|
||||
|
||||
>[!note]- Commands run
|
||||
>module load gcc/9.3.0
|
||||
>gcc -O2 -ftree-vectorize -msse4 mmult.c
|
||||
>srun --partition=cpar perf stat -e cycles,instructions ./a.out
|
||||
|
||||
|
||||
|
|
BIN
Images/Pasted image 20231004115725.png
Normal file
BIN
Images/Pasted image 20231004115725.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
Add table
Reference in a new issue