vault backup: 2023-10-04 12:23:31
This commit is contained in:
parent
6f6741a669
commit
47bd74f5ee
3 changed files with 46 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
dg-publish: true
|
||||
---
|
||||
4 de Outubro 2023 - #CP
|
||||
|
||||
## Ex. 2
|
||||
|
@ -50,5 +53,29 @@ Ganhos de 4 vezes mais.
|
|||
|
||||
|
||||
## Ex. 3
|
||||
#### a)
|
||||
2 operações em FP
|
||||
#### a) Peak Performance
|
||||
2 operações em FP
|
||||
4 elementos de cada vez em cada ciclo
|
||||
2.5 GHz -> 2.5 billion cycles per second
|
||||
|
||||
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:
|
||||
measured performance:
|
||||
|
||||
#### c)
|
||||
memory bandwith limitation
|
||||
|
||||
| GFlop/s | Flop/Byte |
|
||||
| ------- | --------- |
|
||||
| 0.125 | |
|
||||
| 0.25 | |
|
||||
| 0.5 | 10 |
|
||||
| 1 | 20 |
|
||||
| 2 | |
|
||||
| 4 | |
|
||||
| 8 | |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue