vault backup: 2023-10-18 11:59:55
This commit is contained in:
parent
c48541254d
commit
e188b087ba
4 changed files with 15 additions and 2 deletions
5
.obsidian/workspace.json
vendored
5
.obsidian/workspace.json
vendored
|
@ -186,6 +186,8 @@
|
||||||
},
|
},
|
||||||
"active": "cca189cd61cd7fe5",
|
"active": "cca189cd61cd7fe5",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"Pasted image 20231018115329.png",
|
||||||
|
"Pasted image 20231018115103.png",
|
||||||
"Pasted image 20231018114101.png",
|
"Pasted image 20231018114101.png",
|
||||||
"Pasted image 20231018113933.png",
|
"Pasted image 20231018113933.png",
|
||||||
"4a1s/CP/PL - Aula 5.md",
|
"4a1s/CP/PL - Aula 5.md",
|
||||||
|
@ -229,7 +231,6 @@
|
||||||
"quartz/static/og-image.png",
|
"quartz/static/og-image.png",
|
||||||
"quartz/static/icon.png",
|
"quartz/static/icon.png",
|
||||||
"docs/images/quartz transform pipeline.png",
|
"docs/images/quartz transform pipeline.png",
|
||||||
"docs/images/quartz layout.png",
|
"docs/images/quartz layout.png"
|
||||||
"docs/images/dns records.png"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -17,3 +17,15 @@ NOTE: These threads use a fork-join architecture, aka both threads work simultan
|
||||||
### c)
|
### c)
|
||||||
It is dependant on the CPU availability in each clock cycle. A thread, when executed uses
|
It is dependant on the CPU availability in each clock cycle. A thread, when executed uses
|
||||||
|
|
||||||
|
## Ex 2
|
||||||
|
### 2.1 - \#pragma omp for
|
||||||
|
![[Pasted image 20231018115329.png]]
|
||||||
|
#### a)
|
||||||
|
There is a distribution of literally half the prints to each of the 2 thread created. There is a static distribution of instructions to each thread.
|
||||||
|
Thread 0 -> ids 0-49
|
||||||
|
Thread 1 -> ids 50-99
|
||||||
|
#### b)
|
||||||
|
Yes, since it is statically distributed.
|
||||||
|
#### c)
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
Pasted image 20231018115103.png
Normal file
BIN
Pasted image 20231018115103.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
BIN
Pasted image 20231018115329.png
Normal file
BIN
Pasted image 20231018115329.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
Loading…
Add table
Reference in a new issue