add readme
This commit is contained in:
parent
9a71e6642d
commit
54c0eea7de
46
readme.md
Normal file
46
readme.md
Normal file
@ -0,0 +1,46 @@
|
||||
|
||||
<p>
|
||||
Gabriel Possenti Kheisa Drianasta<br>
|
||||
19/442374/PA/19123
|
||||
</p>
|
||||
|
||||
<h1>Hasil Performance tuning</h1>
|
||||
|
||||
<h3>Sebelum parallel</h3>
|
||||
<pre>
|
||||
mahasiswa2
|
||||
komputasi06
|
||||
mimax= 129 mjmax= 65 mkmax= 65
|
||||
imax= 128 jmax= 64 kmax= 64
|
||||
Start rehearsal measurement process.
|
||||
Measure the performance in 10000 times.
|
||||
MFLOPS: 724.292114 time(s): 227.362640 8.79942896E-10
|
||||
</pre>
|
||||
|
||||
<h3>Sesudah parallel</h3>
|
||||
<pre>
|
||||
mahasiswa2
|
||||
komputasi06
|
||||
mimax= 129 mjmax= 65 mkmax= 65
|
||||
imax= 128 jmax= 64 kmax= 64
|
||||
Start rehearsal measurement process.
|
||||
Measure the performance in 10000 times.
|
||||
MFLOPS: 6017.17725 time(s): 27.3678112 8.79942896E-10
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
<h1>Pembahasan</h1>
|
||||
|
||||
<h3>Program OMP do end do disispkan pada bagian berikut pada program <a href="https://elok.ugm.ac.id/pluginfile.php/2173252/mod_resource/content/1/sample4.f">himeno</a>:</h3>
|
||||
<p>https://repo.gabrielkheisa.xyz/gabrielkheisa/tugas3-openMP/commit/1f11c6330793ba22afb953d114078c87e65d522c</p>
|
||||
<img src="https://cdn.discordapp.com/attachments/1003173519879847966/1046321839607136297/image.png">
|
||||
<img src="https://media.discordapp.net/attachments/1003173519879847966/1046321891406786580/image.png">
|
||||
|
||||
<h3>Kemudian dilanjutkan dengan penambahan $OMP parallel private() dan do reduction untuk deklarasi variabel parallel:</h3>
|
||||
<p>https://repo.gabrielkheisa.xyz/gabrielkheisa/tugas3-openMP/commit/8babfcc27e3b0dc524cf99a00cbd47645b9d0273</p>
|
||||
<img src="https://media.discordapp.net/attachments/1003173519879847966/1046322875797352518/image.png">
|
||||
|
||||
<p>Hasilnya adalah peningkatan performa dari <b>724MFLOPS</b> menjadi <b>6017MFLOPS</b></p> atau sebesar <b>8.3 kali</b> untuk <b>20 threads</b>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user