GithubHelp home page GithubHelp logo

tomereven / prefix-filter Goto Github PK

View Code? Open in Web Editor NEW
45.0 3.0 4.0 171 KB

Prefix Filter: Practically and Theoretically Better Than Bloom.

License: Other

C++ 86.68% CMake 2.28% Shell 0.12% C 4.02% Makefile 0.23% Python 6.66%
filter bloom-filter cuckoo-filter pocket-dictionary prefix-filter approximate-membership-query amq

prefix-filter's People

Contributors

theholyjoker avatar tomereven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

prefix-filter's Issues

when run t="measure_perf measure_built measure_fpp"; time cmake --build ./ --target $t -j 20,there are some problems,this may relate Intel. Support of AVX512 is a must.

xsh@xsh-virtual-machine:~/Prefix-Filter/build$ t="measure_perf measure_built measure_fpp"; time cmake --build ./ --target $t -j 20
[ 28%] Building CXX object CMakeFiles/measure_perf.dir/Tests/smart_tests.cpp.o
[ 28%] Building CXX object CMakeFiles/measure_perf.dir/Prefix-Filter/min_pd256.cpp.o
[ 57%] Building CXX object CMakeFiles/measure_perf.dir/Prefix-Filter/Shift_op.cpp.o
[ 57%] Building CXX object CMakeFiles/measure_perf.dir/cuckoofilter/src/printutil.cc.o
[ 71%] Building CXX object CMakeFiles/measure_perf.dir/TC-Shortcut/tc-sym.cpp.o
[ 85%] Building CXX object CMakeFiles/measure_perf.dir/main-perf.cpp.o
In file included from /home/xsh/Prefix-Filter/TC-Shortcut/tc-sym.cpp:1:
/home/xsh/Prefix-Filter/TC-Shortcut/tc-sym.hpp: In function ‘__m512i tc_sym::shift_right(__m512i)’:
/home/xsh/Prefix-Filter/TC-Shortcut/tc-sym.hpp:271:41: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
271 | inline __m512i shift_right(__m512i a) {
| ^
In file included from /home/xsh/Prefix-Filter/Tests/../Tests/../TC-Shortcut/TC-shortcut.hpp:7,
from /home/xsh/Prefix-Filter/Tests/../Tests/wrappers.hpp:20,
from /home/xsh/Prefix-Filter/Tests/smart_tests.hpp:5,
from /home/xsh/Prefix-Filter/main-perf.cpp:1:
/home/xsh/Prefix-Filter/Tests/../Tests/../TC-Shortcut/./tc-sym.hpp: In function ‘__m512i tc_sym::shift_right(__m512i)’:
/home/xsh/Prefix-Filter/Tests/../Tests/../TC-Shortcut/./tc-sym.hpp:271:41: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
271 | inline __m512i shift_right(__m512i a) {
| ^
In file included from /home/xsh/Prefix-Filter/Tests/../Tests/../TC-Shortcut/TC-shortcut.hpp:7,
from /home/xsh/Prefix-Filter/Tests/../Tests/wrappers.hpp:20,
from /home/xsh/Prefix-Filter/Tests/smart_tests.hpp:5,
from /home/xsh/Prefix-Filter/Tests/smart_tests.cpp:1:
/home/xsh/Prefix-Filter/Tests/../Tests/../TC-Shortcut/./tc-sym.hpp: In function ‘__m512i tc_sym::shift_right(__m512i)’:
/home/xsh/Prefix-Filter/Tests/../Tests/../TC-Shortcut/./tc-sym.hpp:271:41: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
271 | inline __m512i shift_right(__m512i a) {
| ^
/home/xsh/Prefix-Filter/Tests/../Tests/../TC-Shortcut/./tc-sym.hpp:271:20: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
271 | inline __m512i shift_right(__m512i a) {
| ^~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:73,
from /home/xsh/Prefix-Filter/Tests/../Tests/../Bloom_Filter/../hashutil.h:20,
from /home/xsh/Prefix-Filter/Tests/../Tests/../Bloom_Filter/bloom.hpp:9,
from /home/xsh/Prefix-Filter/Tests/../Tests/wrappers.hpp:15,
from /home/xsh/Prefix-Filter/Tests/smart_tests.hpp:5,
from /home/xsh/Prefix-Filter/main-perf.cpp:1:
/usr/lib/gcc/x86_64-linux-gnu/11/include/avx512vbmivlintrin.h: In function ‘__m256i min_pd::shift_right(__m256i)’:
/usr/lib/gcc/x86_64-linux-gnu/11/include/avx512vbmivlintrin.h:103:1: error: inlining failed in call to ‘always_inline’ ‘__m256i _mm256_permutexvar_epi8(__m256i, __m256i)’: target specific option mismatch
103 | _mm256_permutexvar_epi8 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xsh/Prefix-Filter/Tests/../Tests/wrappers.hpp:19,
from /home/xsh/Prefix-Filter/Tests/smart_tests.hpp:5,
from /home/xsh/Prefix-Filter/main-perf.cpp:1:
/home/xsh/Prefix-Filter/Tests/../Tests/../Prefix-Filter/min_pd256.hpp:159:46: note: called from here
159 | __m256i res = _mm256_permutexvar_epi8(idx, a);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
gmake[3]: *** [CMakeFiles/measure_perf.dir/build.make:146: CMakeFiles/measure_perf.dir/main-perf.cpp.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/Makefile2:311: CMakeFiles/measure_perf.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:318: CMakeFiles/measure_perf.dir/rule] Error 2
gmake: *** [Makefile:228: measure_perf] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.