diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index f533e6d..78984fc 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -7,18 +7,6 @@ "id": "f2e5c2c113449b23", "type": "tabs", "children": [ - { - "id": "0d5f0081d4a8007c", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "4a1s/MFES/PL - Aula 4.md", - "mode": "source", - "source": false - } - } - }, { "id": "6a363953132aebe7", "type": "leaf", @@ -31,8 +19,7 @@ } } } - ], - "currentTab": 1 + ] } ], "direction": "vertical" @@ -61,7 +48,7 @@ "state": { "type": "search", "state": { - "query": "tag:#pragama", + "query": "", "matchingCase": false, "explainSearch": false, "collapseAll": false, @@ -78,8 +65,7 @@ "state": {} } } - ], - "currentTab": 1 + ] } ], "direction": "horizontal", @@ -152,7 +138,7 @@ } } ], - "currentTab": 3 + "currentTab": 4 } ], "direction": "horizontal", @@ -172,10 +158,12 @@ "digitalgarden:Digital Garden Publication Center": false } }, - "active": "f75b37cc59d39724", + "active": "6a363953132aebe7", "lastOpenFiles": [ - "4a1s/MFES/T - Aula 2.md", + "4a1s/CP/PL - Aula 6.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 3.md", "4a1s/MFES/PL - Aula 2.md", @@ -184,7 +172,6 @@ "4a1s/RAS/Notas Projeto RAS.md", "4a1s/CP/PL - Aula 4.md", "4a1s/CP/Projeto Fase 1.md", - "4a1s/CP/PL - Aula 6.md", "My Digital Garden.md", "Pasted image 20231018122801.png", "Images/Pasted image 20231018121319.png", @@ -210,7 +197,6 @@ "4a1s/CP/PL - Aula 3.md", "4a1s/CP/PL - Aula 2.md", "4a1s/RAS/Projeto.md", - "4a1s/index.md", "4a1s/ESR", "Private-Project", "4a1s/Excalidraw/RAS", diff --git a/4a1s/CP/PL - Aula 6.md b/4a1s/CP/PL - Aula 6.md index b22e300..de5ace6 100644 --- a/4a1s/CP/PL - Aula 6.md +++ b/4a1s/CP/PL - Aula 6.md @@ -1,5 +1,11 @@ +--- +dg-publish: true +--- 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://610yilingliu.github.io/2020/07/15/ScheduleinOpenMP/ ## Ex 1 diff --git a/4a1s/CP/PL - Aula 7.md b/4a1s/CP/PL - Aula 7.md index d9c377a..dcf366d 100644 --- a/4a1s/CP/PL - Aula 7.md +++ b/4a1s/CP/PL - Aula 7.md @@ -1,4 +1,7 @@ -25 Outubro 2023 +--- +dg-publish: true +--- +25 Outubro 2023 - #CP --- # Ficha 6 @@ -547,12 +550,15 @@ Versão original: Dot is 1.2020569031095949 ``` -### a) +### a+b) + Run \#1 (--cpus-per-task=2): ``` Dot is 1.2020569029595982 ``` +With the same cpus per task (cores), the result may vary depending on how + Run \#2 (--cpus-per-task=4): ``` Dot is 0.0000000005999720 @@ -563,5 +569,6 @@ Run \#3 (--cpus-per-task=6): 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) \ No newline at end of file diff --git a/Excalidraw/Drawing 2023-10-25 12.16.38.excalidraw.md b/Excalidraw/Drawing 2023-10-25 12.16.38.excalidraw.md new file mode 100644 index 0000000..d3c7c93 --- /dev/null +++ b/Excalidraw/Drawing 2023-10-25 12.16.38.excalidraw.md @@ -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"}} +``` +%% \ No newline at end of file