From 10e08b520d091adaeb9254d16b22ebfdf22e7625 Mon Sep 17 00:00:00 2001 From: MHYang Date: Thu, 24 Apr 2025 10:41:34 +0000 Subject: [PATCH] Remove unused flag --- .../99_toy_example/03_flash_attention_fwd/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/ck_tile/99_toy_example/03_flash_attention_fwd/CMakeLists.txt b/example/ck_tile/99_toy_example/03_flash_attention_fwd/CMakeLists.txt index 4c71936c61..23fc7484dd 100644 --- a/example/ck_tile/99_toy_example/03_flash_attention_fwd/CMakeLists.txt +++ b/example/ck_tile/99_toy_example/03_flash_attention_fwd/CMakeLists.txt @@ -13,8 +13,7 @@ list(APPEND EXAMPLE_REDUCE_COMPILE_OPTIONS -Wno-undefined-func-template -Wno-flo option(ENABLE_TOY_FA_FWD_OPT "Enable toy FA fwd optimization" OFF) if(ENABLE_TOY_FA_FWD_OPT) message("Compiling with toy FA fwd optimization") - # target_compile_definitions(${EXAMPLE_REDUCE} PRIVATE TOY_FA_FWD_OPT) - add_definitions(-DTOY_FA_FWD_OPT) + target_compile_definitions(${EXAMPLE_REDUCE} PRIVATE TOY_FA_FWD_OPT) endif() target_compile_options(${EXAMPLE_REDUCE} PRIVATE ${EXAMPLE_REDUCE_COMPILE_OPTIONS})