"git@developer.sourcefind.cn:Fzc7075/nunchaku.git" did not exist on "349853d0c1c7e642e86fff662ff3969f0ec31e9b"
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)
endif()
endif()
add_gtest_executable(test_fp8 fp8.cpp)
if(result EQUAL 0)
if(DTYPES MATCHES "fp8" OR NOT DEFINED DTYPES)
add_gtest_executable(test_fp8 fp8.cpp)
if(result EQUAL 0)
target_link_libraries(test_fp8 PRIVATE utility)
endif()
endif()
add_gtest_executable(test_bf8 bf8.cpp)
if(result EQUAL 0)
if(DTYPES MATCHES "fp8" OR NOT DEFINED DTYPES)
add_gtest_executable(test_bf8 bf8.cpp)
if(result EQUAL 0)
target_link_libraries(test_bf8 PRIVATE utility)
endif()
endif()
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