"sgl-kernel/csrc/vscode:/vscode.git/clone" did not exist on "ee47a6c1c3b560b41702b85c4193507af3bebfbb"
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
)
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)
# all other tests are labelled as SMOKE_EXAMPLE
......@@ -222,6 +222,9 @@ endfunction(add_example_executable_no_testing EXAMPLE_NAME)
# add all example subdir
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})
if(IS_DIRECTORY "${subdir}" AND EXISTS "${subdir}/CMakeLists.txt")
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