diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-19 17:06:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-19 17:06:37 +0200 |
commit | 507d7bc729eff888dd499e937bf1a636cbdee75b (patch) | |
tree | 8992e9adf3605da614b2d50a8242d8756e5980e6 /CMakeLists.txt | |
parent | 0326c7d559792a13a5d8b042f0c4848d71f09d7f (diff) | |
parent | 76e0079a90d02cd0f371d4f25d37f6817cdada8a (diff) |
Merge pull request #284 from CNugteren/routine_tuners_read_kernel_json_from_disk
Routine tuners read kernel JSON from disk
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 0715b866..ea306bc5 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() |