From 54c0eea7def60d57bf1c6dc631c91c7eb2d28158 Mon Sep 17 00:00:00 2001 From: gabrielkheisa Date: Sun, 27 Nov 2022 14:18:26 +0700 Subject: [PATCH] add readme --- readme.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..e64d6c2 --- /dev/null +++ b/readme.md @@ -0,0 +1,46 @@ + +

+Gabriel Possenti Kheisa Drianasta
+19/442374/PA/19123 +

+ +

Hasil Performance tuning

+ +

Sebelum parallel

+
+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
+
+ +

Sesudah parallel

+
+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
+
+ + + +

Pembahasan

+ +

Program OMP do end do disispkan pada bagian berikut pada program himeno:

+

https://repo.gabrielkheisa.xyz/gabrielkheisa/tugas3-openMP/commit/1f11c6330793ba22afb953d114078c87e65d522c

+ + + +

Kemudian dilanjutkan dengan penambahan $OMP parallel private() dan do reduction untuk deklarasi variabel parallel:

+

https://repo.gabrielkheisa.xyz/gabrielkheisa/tugas3-openMP/commit/8babfcc27e3b0dc524cf99a00cbd47645b9d0273

+ + +

Hasilnya adalah peningkatan performa dari 724MFLOPS menjadi 6017MFLOPS

atau sebesar 8.3 kali untuk 20 threads + +