"...composable_kernel.git" did not exist on "edb2f8171b907a7e8bd6c6b1b4010e9a792d92f4"
Commit 5ba8cec5 authored by Jakub Piasecki's avatar Jakub Piasecki
Browse files

fix for building ck tile code on non gfx9

parent ad91494c
...@@ -4,7 +4,7 @@ include_directories(BEFORE ...@@ -4,7 +4,7 @@ include_directories(BEFORE
) )
add_custom_target(examples) add_custom_target(examples)
add_custom_target(examples_ck_tile)
# list of examples that are labelled as REGRESSION_EXAMPLE for make regression (runtime more than 30 seconds) # list of examples that are labelled as REGRESSION_EXAMPLE for make regression (runtime more than 30 seconds)
# all other tests are labelled as SMOKE_EXAMPLE # all other tests are labelled as SMOKE_EXAMPLE
...@@ -222,6 +222,9 @@ endfunction(add_example_executable_no_testing EXAMPLE_NAME) ...@@ -222,6 +222,9 @@ endfunction(add_example_executable_no_testing EXAMPLE_NAME)
# add all example subdir # add all example subdir
file(GLOB dir_list LIST_DIRECTORIES true *) file(GLOB dir_list LIST_DIRECTORIES true *)
if (NOT SUPPORTED_GPU_TARGETS MATCHES "gfx9")
list(FILTER dir_list EXCLUDE REGEX ".*/ck_tile")
endif()
FOREACH(subdir ${dir_list}) FOREACH(subdir ${dir_list})
if(IS_DIRECTORY "${subdir}" AND EXISTS "${subdir}/CMakeLists.txt") if(IS_DIRECTORY "${subdir}" AND EXISTS "${subdir}/CMakeLists.txt")
add_subdirectory(${subdir}) add_subdirectory(${subdir})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment