vault backup: 2023-10-25 12:21:34
This commit is contained in:
parent
6ba6885429
commit
e212392f9d
4 changed files with 39 additions and 25 deletions
30
.obsidian/workspace.json
vendored
30
.obsidian/workspace.json
vendored
|
@ -7,18 +7,6 @@
|
||||||
"id": "f2e5c2c113449b23",
|
"id": "f2e5c2c113449b23",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
|
||||||
"id": "0d5f0081d4a8007c",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "markdown",
|
|
||||||
"state": {
|
|
||||||
"file": "4a1s/MFES/PL - Aula 4.md",
|
|
||||||
"mode": "source",
|
|
||||||
"source": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "6a363953132aebe7",
|
"id": "6a363953132aebe7",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
|
@ -31,8 +19,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"currentTab": 1
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "vertical"
|
"direction": "vertical"
|
||||||
|
@ -61,7 +48,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "search",
|
"type": "search",
|
||||||
"state": {
|
"state": {
|
||||||
"query": "tag:#pragama",
|
"query": "",
|
||||||
"matchingCase": false,
|
"matchingCase": false,
|
||||||
"explainSearch": false,
|
"explainSearch": false,
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
|
@ -78,8 +65,7 @@
|
||||||
"state": {}
|
"state": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"currentTab": 1
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
|
@ -152,7 +138,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 3
|
"currentTab": 4
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
|
@ -172,10 +158,12 @@
|
||||||
"digitalgarden:Digital Garden Publication Center": false
|
"digitalgarden:Digital Garden Publication Center": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "f75b37cc59d39724",
|
"active": "6a363953132aebe7",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"4a1s/MFES/T - Aula 2.md",
|
"4a1s/CP/PL - Aula 6.md",
|
||||||
"4a1s/CP/PL - Aula 7.md",
|
"4a1s/CP/PL - Aula 7.md",
|
||||||
|
"Excalidraw/Drawing 2023-10-25 12.16.38.excalidraw.md",
|
||||||
|
"4a1s/MFES/T - Aula 2.md",
|
||||||
"4a1s/MFES/PL - Aula 5.md",
|
"4a1s/MFES/PL - Aula 5.md",
|
||||||
"4a1s/MFES/PL - Aula 3.md",
|
"4a1s/MFES/PL - Aula 3.md",
|
||||||
"4a1s/MFES/PL - Aula 2.md",
|
"4a1s/MFES/PL - Aula 2.md",
|
||||||
|
@ -184,7 +172,6 @@
|
||||||
"4a1s/RAS/Notas Projeto RAS.md",
|
"4a1s/RAS/Notas Projeto RAS.md",
|
||||||
"4a1s/CP/PL - Aula 4.md",
|
"4a1s/CP/PL - Aula 4.md",
|
||||||
"4a1s/CP/Projeto Fase 1.md",
|
"4a1s/CP/Projeto Fase 1.md",
|
||||||
"4a1s/CP/PL - Aula 6.md",
|
|
||||||
"My Digital Garden.md",
|
"My Digital Garden.md",
|
||||||
"Pasted image 20231018122801.png",
|
"Pasted image 20231018122801.png",
|
||||||
"Images/Pasted image 20231018121319.png",
|
"Images/Pasted image 20231018121319.png",
|
||||||
|
@ -210,7 +197,6 @@
|
||||||
"4a1s/CP/PL - Aula 3.md",
|
"4a1s/CP/PL - Aula 3.md",
|
||||||
"4a1s/CP/PL - Aula 2.md",
|
"4a1s/CP/PL - Aula 2.md",
|
||||||
"4a1s/RAS/Projeto.md",
|
"4a1s/RAS/Projeto.md",
|
||||||
"4a1s/index.md",
|
|
||||||
"4a1s/ESR",
|
"4a1s/ESR",
|
||||||
"Private-Project",
|
"Private-Project",
|
||||||
"4a1s/Excalidraw/RAS",
|
"4a1s/Excalidraw/RAS",
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
|
---
|
||||||
|
dg-publish: true
|
||||||
|
---
|
||||||
18 Outubro 2023 - #CP
|
18 Outubro 2023 - #CP
|
||||||
|
|
||||||
|
---
|
||||||
|
# Ficha 6
|
||||||
|
|
||||||
https://www.ibm.com/docs/en/xl-c-aix/13.1.0?topic=descriptions-pragma-directives-parallel-processing
|
https://www.ibm.com/docs/en/xl-c-aix/13.1.0?topic=descriptions-pragma-directives-parallel-processing
|
||||||
https://610yilingliu.github.io/2020/07/15/ScheduleinOpenMP/
|
https://610yilingliu.github.io/2020/07/15/ScheduleinOpenMP/
|
||||||
## Ex 1
|
## Ex 1
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
25 Outubro 2023
|
---
|
||||||
|
dg-publish: true
|
||||||
|
---
|
||||||
|
25 Outubro 2023 - #CP
|
||||||
|
|
||||||
---
|
---
|
||||||
# Ficha 6
|
# Ficha 6
|
||||||
|
@ -547,12 +550,15 @@ Versão original:
|
||||||
Dot is 1.2020569031095949
|
Dot is 1.2020569031095949
|
||||||
```
|
```
|
||||||
|
|
||||||
### a)
|
### a+b)
|
||||||
|
|
||||||
Run \#1 (--cpus-per-task=2):
|
Run \#1 (--cpus-per-task=2):
|
||||||
```
|
```
|
||||||
Dot is 1.2020569029595982
|
Dot is 1.2020569029595982
|
||||||
```
|
```
|
||||||
|
|
||||||
|
With the same cpus per task (cores), the result may vary depending on how
|
||||||
|
|
||||||
Run \#2 (--cpus-per-task=4):
|
Run \#2 (--cpus-per-task=4):
|
||||||
```
|
```
|
||||||
Dot is 0.0000000005999720
|
Dot is 0.0000000005999720
|
||||||
|
@ -563,5 +569,6 @@ Run \#3 (--cpus-per-task=6):
|
||||||
Dot is 0.0000000013500135
|
Dot is 0.0000000013500135
|
||||||
```
|
```
|
||||||
|
|
||||||
Varies with the number of cpus per task (cores) because depending on the number of threads, the distribution of the instruction ```dot += a[i]*b[i];'``` per thread will vary, aka the value i will constantly vary, making the memory space alternate between versions.
|
Varies with the number of cpus per task (cores) because depending on the number of threads, the distribution of the instruction ```dot += a[i]*b[i];``` per thread will vary, aka the value ```i``` will constantly vary, making the memory space alternate between versions.
|
||||||
|
|
||||||
|
### c)
|
15
Excalidraw/Drawing 2023-10-25 12.16.38.excalidraw.md
Normal file
15
Excalidraw/Drawing 2023-10-25 12.16.38.excalidraw.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
excalidraw-plugin: parsed
|
||||||
|
tags: [excalidraw]
|
||||||
|
|
||||||
|
---
|
||||||
|
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠==
|
||||||
|
|
||||||
|
|
||||||
|
%%
|
||||||
|
# Drawing
|
||||||
|
```json
|
||||||
|
{"type":"excalidraw","version":2,"source":"https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/1.9.19","elements":[],"appState":{"gridSize":null,"viewBackgroundColor":"#ffffff"}}
|
||||||
|
```
|
||||||
|
%%
|
Loading…
Reference in a new issue