diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-19 17:54:27 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-19 17:54:27 +0200 |
commit | cbcd4ff7e8e21584a9a1f405c9f4cb979a73b718 (patch) | |
tree | 4a131ed480dc4f496a211453f95adfebaf3f6336 /CMakeLists.txt | |
parent | e057a9186a1ed0a169fcf4db7a2598d08f530834 (diff) | |
parent | 507d7bc729eff888dd499e937bf1a636cbdee75b (diff) |
Merge branch 'master' into CLBlast-267-convgemm
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4974545e..72aaa533 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -424,9 +424,9 @@ if(TUNERS) install(TARGETS clblast_tuner_${KERNEL} DESTINATION bin) endforeach() foreach(ROUTINE_TUNER ${ROUTINE_TUNERS}) - add_executable(clblast_tuner_routine_${ROUTINE_TUNER} ${TUNERS_COMMON} src/tuning/routines/${ROUTINE_TUNER}.cpp) + add_executable(clblast_tuner_routine_${ROUTINE_TUNER} ${TUNERS_COMMON} src/tuning/routines/${ROUTINE_TUNER}.cpp test/test_utilities.cpp) target_link_libraries(clblast_tuner_routine_${ROUTINE_TUNER} clblast) - target_include_directories(clblast_tuner_routine_${ROUTINE_TUNER} PUBLIC $<TARGET_PROPERTY:clblast,INTERFACE_INCLUDE_DIRECTORIES> ${API_INCLUDE_DIRS}) + target_include_directories(clblast_tuner_routine_${ROUTINE_TUNER} PUBLIC $<TARGET_PROPERTY:clblast,INTERFACE_INCLUDE_DIRECTORIES> ${API_INCLUDE_DIRS} ${clblast_SOURCE_DIR}) install(TARGETS clblast_tuner_routine_${ROUTINE_TUNER} DESTINATION bin) endforeach() @@ -439,6 +439,12 @@ if(TUNERS) endforeach() set(ALLTUNERSDEPENDS clblast_tuner_${KERNEL}) endforeach() + foreach(ROUTINE_TUNER ${ROUTINE_TUNERS}) + foreach(PRECISION ${PRECISIONS}) + set(ALLTUNERS ${ALLTUNERS} COMMAND clblast_tuner_routine_${ROUTINE_TUNER} -precision ${PRECISION}) + endforeach() + set(ALLTUNERSDEPENDS clblast_tuner_routine_${ROUTINE_TUNER}) + endforeach() add_custom_target(alltuners ${ALLTUNERS} DEPENDS ${ALLTUNERSDEPENDS}) endif() |