Custom bitset 在AVX2指令集上存在性能问题 #41595
Unanswered
982945902
asked this question in
Q&A and General discussion
Replies: 1 comment 1 reply
-
目前我测试的现象是ElementWiseBitsetPolicy<uint64_t> 和boost bitset性能差不多,AVX2 比boost bitset慢, AVX512比boost bitset快 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
using vectorized_type = milvus::bitset::detail::VectorizedDynamic;
using policy_type =
milvus::bitset::detail::VectorizedElementWiseBitsetPolicy<uint64_t,
vectorized_type>;
using container_type = folly::fbvector<uint8_t>;
using bitset_type = milvus::bitset::Bitset<policy_type, container_type, false>;
这是我的参数配置,AVX2的性能不及直接设置ElementWiseBitsetPolicy<uint64_t>。是否和机器的性能相关呢
Beta Was this translation helpful? Give feedback.
All reactions