From 186320f76f91bd7b5f40044602433d7fc7455929 Mon Sep 17 00:00:00 2001 From: Gundolf Haase Date: Thu, 11 Dec 2025 15:57:16 +0100 Subject: [PATCH] . --- ex3/seq/check_all | 0 ex3/seq/jacobi_oo_stl/Makefile | 0 ex5/code/task_2-5/Makefile | 4 ++-- ex5/code/task_2-5/main.cpp | 10 +++++----- 4 files changed, 7 insertions(+), 7 deletions(-) mode change 100755 => 100644 ex3/seq/check_all mode change 100755 => 100644 ex3/seq/jacobi_oo_stl/Makefile 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 +}