diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-26 15:44:12 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-26 15:44:12 +0200 |
commit | 4bbc83c0ec43b0ede8e4e0fb7f81494ccd65acf8 (patch) | |
tree | d3ad5266f1585087269a3bbef1d1e3c6ee3258fb /TS/baselines/cpu/Makefile | |
parent | 158bed0f093357150e80861eb731e6bc8fa77bdf (diff) |
port TS CPU to dfatool
Diffstat (limited to 'TS/baselines/cpu/Makefile')
-rw-r--r-- | TS/baselines/cpu/Makefile | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/TS/baselines/cpu/Makefile b/TS/baselines/cpu/Makefile index 80729b0..69121ed 100644 --- a/TS/baselines/cpu/Makefile +++ b/TS/baselines/cpu/Makefile @@ -1,4 +1,22 @@ -all: - g++ streamp_openmp.cpp tools.cpp -o streamp_openmp -std=c++11 -fopenmp -run: - ./streamp_openmp SampleInput/randomlist5M.txt 256 + +all: streamp_openmp + +streamp_openmp: streamp_openmp.cpp tools.cpp + g++ -O2 streamp_openmp.cpp tools.cpp -o streamp_openmp -std=c++11 -fopenmp + +streamp_openmp_O0: streamp_openmp.cpp tools.cpp + g++ streamp_openmp.cpp tools.cpp -o streamp_openmp_O0 -std=c++11 -fopenmp + +streamp_openmp_O2: streamp_openmp.cpp tools.cpp + g++ -O2 streamp_openmp.cpp tools.cpp -o streamp_openmp_O2 -std=c++11 -fopenmp + +run: streamp_openmp + ./streamp_openmp inputs/randomlist33M.txt 256 + +run_O0: streamp_openmp_O0 + ./streamp_openmp_O0 inputs/randomlist33M.txt 256 + +run_O2: streamp_openmp_O2 + ./streamp_openmp_O2 inputs/randomlist33M.txt 256 + +.PHONY: all run run_O0 run_O2 clean |