Previous Le fichier complet |
Parent Évaluation de performances |
Outline | Next Compilation et tests de performances |
Écrivons le fichier CMakeLists.txt :
1 |
set(progIntrinsicsSrc ${INTRINSICS_PROPAGATION_SRC} ${INTRINSICS_LINK_BLOCK_PROPAGATION_SRC} main_intrinsics_link_block.cpp) |
1 2 3 4 |
phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_O1 "-O1 -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_O2 "-O2 -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_O3 "-O3 -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_Ofast "-Ofast -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) |
1 2 3 4 |
phoenix_plotPerf("grayscott_seqIntrinsicsLinkBlock" perf_grayscott_seq_vectorize_O1 perf_grayscott_seq_vectorize_Ofast perf_grayscott_seq_intrinsics_O2 perf_grayscott_seq_intrinsics_O3 perf_grayscott_seq_intrinsics_link_block_O1 perf_grayscott_seq_intrinsics_link_block_O2 perf_grayscott_seq_intrinsics_link_block_O3 perf_grayscott_seq_intrinsics_link_block_Ofast) |
1 2 3 4 5 6 7 8 9 10 11 |
set(progIntrinsicsSrc ${INTRINSICS_PROPAGATION_SRC} ${INTRINSICS_LINK_BLOCK_PROPAGATION_SRC} main_intrinsics_link_block.cpp) phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_O1 "-O1 -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_O2 "-O2 -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_O3 "-O3 -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) phoenix_compileAndRunExample(perf_grayscott_seq_intrinsics_link_block_Ofast "-Ofast -march=native -mtune=native -mavx2" "${CONFIG_GRAYSCOTT}" ${progIntrinsicsSrc}) phoenix_plotPerf("grayscott_seqIntrinsicsLinkBlock" perf_grayscott_seq_vectorize_O1 perf_grayscott_seq_vectorize_Ofast perf_grayscott_seq_intrinsics_O2 perf_grayscott_seq_intrinsics_O3 perf_grayscott_seq_intrinsics_link_block_O1 perf_grayscott_seq_intrinsics_link_block_O2 perf_grayscott_seq_intrinsics_link_block_O3 perf_grayscott_seq_intrinsics_link_block_Ofast) |
Previous Le fichier complet |
Parent Évaluation de performances |
Outline | Next Compilation et tests de performances |