-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Description of problem:
simsimd does not compile with GCC 11 on x86_64. Upstream uses clang or GCC 12. GCC 11 does not support the necessary SIMD instructions and data type.
Version numbers (base image, wheels, builder, etc):
simsimd 6.5.12
Steps to Reproduce:
https://gitlab.com/redhat/rhel-ai/core/testcollections/selfservice/-/jobs/12617171606
Actual results:
gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DSIMSIMD_DYNAMIC_DISPATCH=1 -DSIMSIMD_NATIVE_F16=0 -DSIMSIMD_NATIVE_BF16=0 -DSIMSIMD_TARGET_HASWELL=1 -DSIMSIMD_TARGET_SKYLAKE=1 -DSIMSIMD_TARGET_ICE=1 -DSIMSIMD_TARGET_GENOA=1 -DSIMSIMD_TARGET_SAPPHIRE=1 -DSIMSIMD_TARGET_TURIN=1 -DSIMSIMD_TARGET_SIERRA=0 -DSIMSIMD_TARGET_NEON=0 -DSIMSIMD_TARGET_NEON_I8=0 -DSIMSIMD_TARGET_NEON_F16=0 -DSIMSIMD_TARGET_NEON_BF16=0 -DSIMSIMD_TARGET_SVE=0 -DSIMSIMD_TARGET_SVE_I8=0 -DSIMSIMD_TARGET_SVE_F16=0 -DSIMSIMD_TARGET_SVE_BF16=0 -DSIMSIMD_TARGET_SVE2=0 -Iinclude -I/mnt/work-dir/simsimd-6.5.12/build-3.12.9/include -I/usr/include/python3.12 -c c/lib.c -o build/temp.linux-x86_64-cpython-312/c/lib.o -std=c11 -O3 -ffast-math -fdiagnostics-color=always -fvisibility=default -fPIC -w -fopenmp cc1: error: attribute ‘avx512fp16’ argument ‘target’ is unknown In file included from include/simsimd/curved.h:40, from include/simsimd/simsimd.h:107, from c/lib.c:54: include/simsimd/dot.h: In function ‘simsimd_dot_f16_sapphire’: include/simsimd/dot.h:1632:5: error: unknown type name ‘__m512h’; did you mean ‘__m512bh’? 1632 | __m512h ab_vec = _mm512_setzero_ph(); | ^~~~~~~ | __m512bh include/simsimd/dot.h: In function ‘simsimd_dot_f16c_sapphire’: include/simsimd/dot.h:1655:5: error: unknown type name ‘__m512h’; did you mean ‘__m512bh’? 1655 | __m512h ab_real_vec = _mm512_setzero_ph();
Expected results:
Additional info:
- is duplicated by
-
AIPCC-8160 simsimd==6.5.8 fails to build RHAI pipeline
-
- Closed
-
- is related to
-
AIPCC-7369 terratorch==1.1.1 requires old albucore, which conflicts in numpy<2.0, jsonargparse
-
- Closed
-
- links to
- mentioned on
(1 mentioned on)