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

avx-related compilation warning #1043

Open
alexanderguzhva opened this issue Jan 21, 2025 · 0 comments
Open

avx-related compilation warning #1043

alexanderguzhva opened this issue Jan 21, 2025 · 0 comments

Comments

@alexanderguzhva
Copy link
Collaborator

In file included from /go/src/github.com/milvus-io/milvus/cmake_build/thirdparty/knowhere/knowhere-src/src/simd/distances_sse.cc:21:
/go/src/github.com/milvus-io/milvus/cmake_build/thirdparty/knowhere/knowhere-src/src/simd/simd_util.h: In function '__m256 faiss::_mm256_bf16_to_fp32(const __m128i&)':
/go/src/github.com/milvus-io/milvus/cmake_build/thirdparty/knowhere/knowhere-src/src/simd/simd_util.h:35:37: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
   35 | _mm256_bf16_to_fp32(const __m128i& a) {
      |                                     ^
/go/src/github.com/milvus-io/milvus/cmake_build/thirdparty/knowhere/knowhere-src/src/simd/simd_util.h: In function '__m512 faiss::_mm512_bf16_to_fp32(const __m256i&)':
/go/src/github.com/milvus-io/milvus/cmake_build/thirdparty/knowhere/knowhere-src/src/simd/simd_util.h:41:37: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
   41 | _mm512_bf16_to_fp32(const __m256i& x) {

This means that there are some missing hardware-instruction-set-related compilation flags

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

1 participant