From 7f247fd3929fbd6498c12467b3b948a7c6d224e2 Mon Sep 17 00:00:00 2001 From: Max Podkorytov <4273004+tenpercent@users.noreply.github.com> Date: Mon, 4 Aug 2025 17:43:15 -0700 Subject: [PATCH] fix build for test_ck_tile_fp8 on rhel8 (#2615) [ROCm/composable_kernel commit: 2a78da47082edbff25b5cf2c5b43eeea673f1485] --- test/ck_tile/data_type/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ck_tile/data_type/CMakeLists.txt b/test/ck_tile/data_type/CMakeLists.txt index a9ce48d1de..a9461dca9c 100644 --- a/test/ck_tile/data_type/CMakeLists.txt +++ b/test/ck_tile/data_type/CMakeLists.txt @@ -8,6 +8,7 @@ endif() if(CK_USE_OCP_FP8 OR CK_USE_FNUZ_FP8) add_gtest_executable(test_ck_tile_fp8 test_fp8.cpp) target_compile_options(test_ck_tile_fp8 PRIVATE -Wno-float-equal) + target_compile_definitions(test_ck_tile_fp8 PUBLIC GTEST_HAS_RTTI=0) # conditionally specify the use of OCP_FP8 if(CK_USE_OCP_FP8) target_compile_options(test_ck_tile_fp8 PRIVATE -DCK_TILE_USE_OCP_FP8)