Commit cde27d1f authored by Rostyslav Geyyer's avatar Rostyslav Geyyer
Browse files

Fix fp8/bf8 test build

parent 84d2d87d
...@@ -5,13 +5,17 @@ if (USE_BITINT_EXTENSION_INT4) ...@@ -5,13 +5,17 @@ if (USE_BITINT_EXTENSION_INT4)
endif() endif()
endif() endif()
add_gtest_executable(test_fp8 fp8.cpp) if(DTYPES MATCHES "fp8" OR NOT DEFINED DTYPES)
if(result EQUAL 0) add_gtest_executable(test_fp8 fp8.cpp)
if(result EQUAL 0)
target_link_libraries(test_fp8 PRIVATE utility) target_link_libraries(test_fp8 PRIVATE utility)
endif()
endif() endif()
add_gtest_executable(test_bf8 bf8.cpp) if(DTYPES MATCHES "fp8" OR NOT DEFINED DTYPES)
if(result EQUAL 0) add_gtest_executable(test_bf8 bf8.cpp)
if(result EQUAL 0)
target_link_libraries(test_bf8 PRIVATE utility) target_link_libraries(test_bf8 PRIVATE utility)
endif()
endif() endif()
add_gtest_executable(test_type_convert_const type_convert_const.cpp) add_gtest_executable(test_type_convert_const type_convert_const.cpp)
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