Skip to content

Conversation

@cocochick
Copy link

@cocochick cocochick commented Nov 15, 2024

(#9666)

Fix the compilation error "call to undeclared function '_mm256_dpbusd_epi32'". The function _mm256_dpbusd_epi32 is defined in avxintrin.h, while _mm256_dpbusd_epi32 is defined in avx512vlvnniintrin.h. Therefore, AVX, AVX512VNNI, and AVX512VL need to be defined.

According to (#7743), DGGML_OPENMP=OFF is needed to add, so adding it in doc.

 (ggml-org#9666)

Fix the compilation error "call to undeclared function '_mm256_dpbusd_epi32'". The function _mm256_dpbusd_epi32 is defined in avxintrin.h, while _mm256_dpbusd_epi32 is defined in avx512vlvnniintrin.h. Therefore, __AVX__, __AVX512VNNI__, and __AVX512VL__ need to be defined.

According to (ggml-org#7743), DGGML_OPENMP=OFF is needed to add, so adding it in doc.
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 15, 2024
@slaren
Copy link
Member

slaren commented Nov 16, 2024

Shouldn't AVX always be available in machines with AVX512? If AVX is not being enabled, that might indicate a problem in the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants