diff --git a/ex3/seq/check_all b/ex3/seq/check_all old mode 100755 new mode 100644 diff --git a/ex3/seq/jacobi_oo_stl/Makefile b/ex3/seq/jacobi_oo_stl/Makefile old mode 100755 new mode 100644 diff --git a/ex5/code/task_2-5/Makefile b/ex5/code/task_2-5/Makefile index 6af71b9..da8238d 100644 --- a/ex5/code/task_2-5/Makefile +++ b/ex5/code/task_2-5/Makefile @@ -10,7 +10,7 @@ WARNINGS = -Wall -pedantic -Wextra -Weffc++ -Woverloaded-virtual -Wfloat-equal - -Wredundant-decls -fmax-errors=1 CXXFLAGS = -g -flto -O3 -ffast-math -march=native -fopenmp ${WARNINGS} -LINKFLAGS = -g -flto -O3 -lopenblas -llapacke -fopenmp +LINKFLAGS = -g -flto -O3 -lopenblas -llapacke -fopenmp -ltbb all: ${PROGRAM} @@ -28,4 +28,4 @@ clean: run: ${PROGRAM} # run: clean ${PROGRAM} - ./${PROGRAM} \ No newline at end of file + ./${PROGRAM} diff --git a/ex5/code/task_2-5/main.cpp b/ex5/code/task_2-5/main.cpp index cebd89a..ec24e09 100644 --- a/ex5/code/task_2-5/main.cpp +++ b/ex5/code/task_2-5/main.cpp @@ -58,8 +58,8 @@ void task_2() { void task_3() { printf("\n\n-------------- Task 3 --------------\n\n"); - int threads = 4; - omp_set_num_threads(threads); + //int threads = 4; + //omp_set_num_threads(threads); cout << omp_get_max_threads() << " threads have been started." << endl; // ##################################### @@ -207,9 +207,9 @@ void task_4() { } int main() { - task_2(); + //task_2(); task_3(); - task_4(); + //task_4(); return 0; -} \ No newline at end of file +}