Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #1

Open
Lucy20009 opened this issue Jan 2, 2024 · 1 comment

Comments

@Lucy20009
Copy link

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

@Lucy20009 Lucy20009 changed the title when run t="measure_perf measure_built measure_fpp"; time cmake --build ./ --target $t -j 20,there are some problems when run t="measure_perf measure_built measure_fpp"; time cmake --build ./ --target $t -j 20,there are some problems,this may related Intel. Support of AVX512 is a must. Jan 2, 2024
@Lucy20009 Lucy20009 changed the title when run t="measure_perf measure_built measure_fpp"; time cmake --build ./ --target $t -j 20,there are some problems,this may related Intel. Support of AVX512 is a must. 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. Jan 2, 2024
@TomerEven
Copy link
Owner

Hi,

Which CPU are you using? Are you compiling using GCC? If so, which version?
Which operating system are you using (e.g., Windows, macOS, Linux)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants