|
|
Adds AVX512 VNNI runtime dispatch for signed int8 dot products used by Link HNSW distance calculations, with safe fallback to the existing AVX2/SSE implementations. The signed int8 VNNI path corrects the u8*i8 bias per 64-byte chunk so accumulator semantics stay aligned with the existing int8 DotProduct implementation.
Verification:
- `ya make -tt library/cpp/dot_product/ut`
- `ya make library/cpp/dot_product/bench`
- `ya make -r library/cpp/dot_product/bench`
- `ya make -tt library/cpp/dot_product/ut --sanitize=address`
- `ya make -tt library/cpp/dot_product/ut --sanitize=undefined -F 'TDocProductTestSuite::TestDotProduct8' -F 'TDocProductTestSuite::TestDotProduct8VnniEdges' -F 'TDocProductTestSuite::TestDotProductCharStability'`
- `ya make -tt util/system/ut -F TestCpuId`
commit_hash:5624243c26df2a9e067e631477f6c3603ef45626
|