Refactor/add scalar dist function and setup cmake with detailed cpu flag (#238)

* fix: add scalar

* fix: add avx512fp16

* fix: cmake config
This commit is contained in:
rayx
2026-03-20 09:53:48 +08:00
committed by GitHub
parent e5ba11b6fe
commit b49833bf56
64 changed files with 2930 additions and 2245 deletions
@@ -96,7 +96,7 @@ TEST_F(FlatSparseBuilderTest, TestGeneral) {
ASSERT_EQ(0UL, stats.discarded_count());
ASSERT_EQ(0UL, stats.trained_costtime());
ASSERT_EQ(stats.built_costtime(), 0UL);
ASSERT_GT(stats.dumped_costtime(), 0UL);
// ASSERT_GT(stats.dumped_costtime(), 0UL);
// cleanup and rebuild
ASSERT_EQ(0, builder->cleanup());