diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-04 14:27:12 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-04 14:27:12 +0200 |
commit | 03c90ee53ba49c17208a489186e4c1e9849fe976 (patch) | |
tree | c568d48019968237b023caf887f495032364adb8 /BS/baselines | |
parent | 924591b798bd6ded48d993e4ff8dd122941369a4 (diff) |
BS: Remove unused SDK_SINGLETHREADED ; compile baseline with -march=native
Diffstat (limited to 'BS/baselines')
-rw-r--r-- | BS/baselines/cpu/Makefile | 2 | ||||
-rw-r--r-- | BS/baselines/cpu/bs_omp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/BS/baselines/cpu/Makefile b/BS/baselines/cpu/Makefile index 5c540d7..bed2561 100644 --- a/BS/baselines/cpu/Makefile +++ b/BS/baselines/cpu/Makefile @@ -9,7 +9,7 @@ endif all: bs_omp bs_omp: bs_omp.c - gcc -Wall -Wextra -pedantic -O2 -DNUMA=${NUMA} bs_omp.c -o bs_omp -fopenmp ${FLAGS} + gcc -Wall -Wextra -pedantic -march=native -O2 -DNUMA=${NUMA} bs_omp.c -o bs_omp -fopenmp ${FLAGS} bs_omp_O0: bs_omp.c gcc bs_omp.c -o bs_omp_O0 -fopenmp diff --git a/BS/baselines/cpu/bs_omp.c b/BS/baselines/cpu/bs_omp.c index f160c58..1b9947c 100644 --- a/BS/baselines/cpu/bs_omp.c +++ b/BS/baselines/cpu/bs_omp.c @@ -148,7 +148,7 @@ uint64_t binarySearch(DTYPE * input, uint64_t input_size, DTYPE* querys, unsigne int status = (result_host); if (status) { - printf("[::] BS CPU | n_threads=%d e_type=%s n_elements=%lu" + printf("[::] BS-CPU | n_threads=%d e_type=%s n_elements=%lu" #if NUMA " numa_node_in=%d numa_node_cpu=%d numa_distance_in_cpu=%d" #endif |