Response 5

This commit is contained in:
Gundolf Haase 2025-12-10 18:06:10 +01:00
commit 338363eddc
7 changed files with 23 additions and 0 deletions

BIN
sheet5/1.pdf Normal file

Binary file not shown.

BIN
sheet5/2.pdf Normal file

Binary file not shown.

BIN
sheet5/3.pdf Normal file

Binary file not shown.

BIN
sheet5/4.pdf Normal file

Binary file not shown.

BIN
sheet5/5.pdf Normal file

Binary file not shown.

BIN
sheet5/5_star.pdf Normal file

Binary file not shown.

23
sheet5/gh_response.txt Normal file
View file

@ -0,0 +1,23 @@
Zusammenfassung der Ergebnisse !?
See alsp *.pdf
1: OK
2: OK
3:
* data race vermieden in main.cpp:33
reduction(VecAdd:vec) hätte benutz werden können.
4: OK
5:
CRS_Matrix::GetDiag nicht parallelisiert.
5*:
getmatrix.cpp:236-299 neu
Wie funktioniert der Ansatz im Code?
(und omp critical dürfte sehr langsam sein)
Ich würde 2 parallele Loops erwarten:
a) parallel über alle Element und Speicherung der Elementmatrizen in ein großes Array H
b) parallel über die Matrixeinträge mit lesendem Zugriff auf H