diff --git a/ex4/code/task_c.py b/ex4/code/task_c.py index 31102b9..68ceb27 100644 --- a/ex4/code/task_c.py +++ b/ex4/code/task_c.py @@ -58,4 +58,4 @@ print("u = ", u) plt.tight_layout() plt.savefig("../task_c.png", dpi=300) -plt.show() \ No newline at end of file +plt.show() diff --git a/ex4/task_c.png b/ex4/task_c.png index bd74cb6..35141d8 100644 Binary files a/ex4/task_c.png and b/ex4/task_c.png differ diff --git a/ex5/code/gh_response.txt b/ex5/code/gh_response.txt new file mode 100644 index 0000000..433bb71 --- /dev/null +++ b/ex5/code/gh_response.txt @@ -0,0 +1,16 @@ +Good summary of results. + +1: OK + +2: OK + +3: OK +task3.cpp:32 +non initialzed memory for thread 0 (and the other threads) + +4: OK + +5: +CRS_Matrix::GetDiag non parallel +CRS_Matrix::CalculateLaplace: + "omp critical" is slower than an "omp atomic" for the += [worth to test that] diff --git a/ex5/code/task_1.pdf b/ex5/code/task_1.pdf new file mode 100644 index 0000000..6461eee Binary files /dev/null and b/ex5/code/task_1.pdf differ diff --git a/ex5/code/task_2-5.pdf b/ex5/code/task_2-5.pdf new file mode 100644 index 0000000..bac9535 Binary files /dev/null and b/ex5/code/task_2-5.pdf differ diff --git a/ex5/code/task_5.pdf b/ex5/code/task_5.pdf new file mode 100644 index 0000000..7fe1fcf Binary files /dev/null and b/ex5/code/task_5.pdf differ