Previous Le fichier complet |
Parent Évaluation de performances |
Outline | Next Compilation et tests de performances |
Écrivons le fichier CMakeLists.txt :
1 |
set(progNaiveSrc ${NAIVE_PROPAGATION_SRC} main.cpp) |
1 2 3 4 5 |
phoenix_compileAndRunExample(perf_grayscott_seq_O0 "-O0" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_O1 "-O1" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_O2 "-O2" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_O3 "-O3" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_Ofast "-Ofast" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) |
1 2 3 |
phoenix_plotPerf("grayscott_seqBase" perf_grayscott_seq_O0 perf_grayscott_seq_O1 perf_grayscott_seq_O2 perf_grayscott_seq_O3 perf_grayscott_seq_Ofast) |
1 2 3 4 5 6 7 8 9 10 11 |
set(progNaiveSrc ${NAIVE_PROPAGATION_SRC} main.cpp) phoenix_compileAndRunExample(perf_grayscott_seq_O0 "-O0" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_O1 "-O1" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_O2 "-O2" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_O3 "-O3" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_Ofast "-Ofast" "${CONFIG_GRAYSCOTT}" ${progNaiveSrc}) phoenix_plotPerf("grayscott_seqBase" perf_grayscott_seq_O0 perf_grayscott_seq_O1 perf_grayscott_seq_O2 perf_grayscott_seq_O3 perf_grayscott_seq_Ofast) |
Previous Le fichier complet |
Parent Évaluation de performances |
Outline | Next Compilation et tests de performances |