vault backup: 2023-10-18 11:59:55

This commit is contained in:
Alice 2023-10-18 11:59:55 +01:00
parent c48541254d
commit e188b087ba
4 changed files with 15 additions and 2 deletions

View file

@ -17,3 +17,15 @@ NOTE: These threads use a fork-join architecture, aka both threads work simultan
### c)
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)