diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 3744e3c..be52a37 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,11 +4,11 @@ "type": "split", "children": [ { - "id": "3315871ba65ef140", + "id": "f2e5c2c113449b23", "type": "tabs", "children": [ { - "id": "37b14566e757368b", + "id": "0d5f0081d4a8007c", "type": "leaf", "state": { "type": "markdown", @@ -158,10 +158,11 @@ "digitalgarden:Digital Garden Publication Center": false } }, - "active": "37b14566e757368b", + "active": "0d5f0081d4a8007c", "lastOpenFiles": [ - "Excalidraw/Drawing 2023-10-04 12.19.18.excalidraw.md", + "4a1s/Excalidraw/ASCN/master.excalidraw.md", "4a1s/CP/PL - Aula 4.md", + "Excalidraw/Drawing 2023-10-04 12.19.18.excalidraw.md", "Images/Pasted image 20231004115725.png", "Images/Pasted image 20231004115135.png", "Images/Pasted image 20231004115209.png", @@ -192,7 +193,6 @@ "4a1s/Excalidraw/RAS", "4a1s/Excalidraw/Untitled.md", "Excalidraw/doodles.excalidraw.md", - "Excalidraw/Drawing 2023-09-27 09.57.48.excalidraw.md", "Excalidraw", "-.32118", "4a1s/ASCN/T", diff --git a/4a1s/CP/PL - Aula 4.md b/4a1s/CP/PL - Aula 4.md index 1fba2b0..fc5505c 100644 --- a/4a1s/CP/PL - Aula 4.md +++ b/4a1s/CP/PL - Aula 4.md @@ -61,21 +61,33 @@ Ganhos de 4 vezes mais. conclusion: 20 GFlop/s #### b) -peak with vectorization: 20 GFlop/s -peak without vectorization: 5 GFlop/s -memory bandwith limitation: 20 GFlop/s -real achievable performance: +peak with vectorization: continuous 20 GFlop/s +peak without vectorization: continuous 5 GFlop/s +memory bandwith limitation: ***see alinea d)*** +real achievable performance:***see alinea c)*** measured performance: -#### c) +#### d) memory bandwith limitation | GFlop/s | Flop/Byte | | ------- | --------- | -| 0.125 | | -| 0.25 | | +| 0.125 | 2.5 | +| 0.25 | 5 | | 0.5 | 10 | | 1 | 20 | -| 2 | | -| 4 | | -| 8 | | +| 2 | 40 | +| 4 | 80 | +| 8 | 160 | + +#### c) +2 FOP (operações vírgula flutuante) -> 2 doubles (16B) +1 operation/8B -> 0.125 + +| GFlop/s | Flop/Byte | +| ------- | --------- | +| 0.125 | 2.5 | + + +#### d) +AVX -> 256b -> 4 doubles