mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-04 05:31:24 +00:00
* remove EXCLUDE_FROM_ALL from ck-tile examples -> +15 min build time w/ 64 threads for a single arch * fix cpp17 compile error in the ck-tile examples --------- Co-authored-by: khuagarw <khuagarw@amd.com> Co-authored-by: Ding, Yi <yi.ding@amd.com>
14 lines
622 B
CMake
14 lines
622 B
CMake
# not using add_example_executable() to add this target, since we don't want this to have
|
|
# to be included in "make all/install/check"
|
|
add_executable(tile_example_permute permute.cpp)
|
|
|
|
if(NOT DEFINED PERMUTE_USE_ALTERNATIVE_IMPL)
|
|
# set(PERMUTE_USE_ALTERNATIVE_IMPL false)
|
|
set(PERMUTE_USE_ALTERNATIVE_IMPL true)
|
|
endif()
|
|
if(PERMUTE_USE_ALTERNATIVE_IMPL)
|
|
target_compile_options(tile_example_permute PRIVATE -DPERMUTE_USE_ALTERNATIVE_IMPL)
|
|
target_sources(tile_example_permute PRIVATE alternative_impl/matrix_core_swizzle.cpp)
|
|
endif()
|
|
# target_compile_options(tile_example_permute PRIVATE -v --save-temps -Wno-gnu-line-marker)
|