diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-25 15:27:21 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-25 15:27:21 +0200 |
commit | 9be82d39101398116c0974fd26a63956631df57b (patch) | |
tree | de330acec4e4739852b1766219c780885258c692 /BS/baselines/cpu/Makefile | |
parent | 5c008581ebb873b04e68b38cdec619600b4bcb5d (diff) |
port BS CPU to dfatool
Diffstat (limited to 'BS/baselines/cpu/Makefile')
-rw-r--r-- | BS/baselines/cpu/Makefile | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/BS/baselines/cpu/Makefile b/BS/baselines/cpu/Makefile index e907fc8..1b0ceb5 100644 --- a/BS/baselines/cpu/Makefile +++ b/BS/baselines/cpu/Makefile @@ -1,4 +1,25 @@ -all: - gcc bs_omp.c -o bs_omp -fopenmp -run: +.PHONY: all +all: bs_omp + +bs_omp: bs_omp.c + gcc -O2 bs_omp.c -o bs_omp -fopenmp + +bs_omp_O0: bs_omp.c + gcc bs_omp.c -o bs_omp_O0 -fopenmp + +bs_omp_O2: bs_omp.c + gcc -O2 bs_omp.c -o bs_omp_O2 -fopenmp + +.PHONY: run run_O0 run_O2 +run: bs_omp ./bs_omp 262144 16777216 + +run_O0: bs_omp_O0 + ./bs_omp_O0 262144 16777216 + +run_O2: bs_omp_O2 + ./bs_omp_O2 262144 16777216 + +.PHONY: clean +clean: + rm -f bs_omp bs_omp_O0 bs_omp_O2 |