diff --git a/Sheet_5/bsp_5_1.pdf b/Sheet_5/bsp_5_1.pdf index 5180fe1..c91cb2b 100644 Binary files a/Sheet_5/bsp_5_1.pdf and b/Sheet_5/bsp_5_1.pdf differ diff --git a/Sheet_5/bsp_5_2.pdf b/Sheet_5/bsp_5_2.pdf index f7eee49..0f998a9 100644 Binary files a/Sheet_5/bsp_5_2.pdf and b/Sheet_5/bsp_5_2.pdf differ diff --git a/Sheet_5/bsp_5_3.pdf b/Sheet_5/bsp_5_3.pdf index 70c7cd2..74df1a7 100644 Binary files a/Sheet_5/bsp_5_3.pdf and b/Sheet_5/bsp_5_3.pdf differ diff --git a/Sheet_5/bsp_5_4.pdf b/Sheet_5/bsp_5_4.pdf index 4ed88e8..a5f5bfa 100644 Binary files a/Sheet_5/bsp_5_4.pdf and b/Sheet_5/bsp_5_4.pdf differ diff --git a/Sheet_5/gh_response.txt b/Sheet_5/gh_response.txt index 433bb71..0aca26d 100644 --- a/Sheet_5/gh_response.txt +++ b/Sheet_5/gh_response.txt @@ -1,16 +1,13 @@ -Good summary of results. +Results in *.txt files 1: OK 2: OK 3: OK -task3.cpp:32 -non initialzed memory for thread 0 (and the other threads) +bsp_5_3_lib.cpp:34ff +vector primes is ordered: better use std::lower_bound and std::distance +--> https://en.cppreference.com/w/cpp/algorithm/lower_bound.html 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]