Skip to content

Commit b4fec80

Browse files
committed
fix: fp8 numerical mismatch error on gfx950 by adding DCK_TILE_USE_OCP_FP8
1 parent 44138cd commit b4fec80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/ck_tile/utility/print/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ add_gtest_executable(test_print_static_encoding_pattern test_print_static_encodi
77
add_gtest_executable(test_print_buffer_view test_print_buffer_view.cpp)
88
add_gtest_executable(test_print_basic_types test_print_basic_types.cpp)
99
add_gtest_executable(test_print_tile_window test_print_tile_window.cpp)
10+
11+
# Apply OCP FP8 flag for tile_window test to ensure host/device FP8 format consistency
12+
if(CK_USE_OCP_FP8)
13+
target_compile_options(test_print_tile_window PRIVATE -DCK_TILE_USE_OCP_FP8)
14+
endif()

0 commit comments

Comments
 (0)