Closed Galasnow closed 2 weeks ago
Also observed in vcpkg.
This is the fix. It is included in r28.
It doesn't cherry-pick cleanly to r27 - will try to resolve conflicts next week.
commit 55c466da2f2f0baa509eb709b8de8926bd498b9b
Author: Benjamin Kramer <benny.kra@googlemail.com>
Date: Wed Mar 6 00:48:01 2024 +0100
[X86][AVX512BF16] Add a few missing insert/extract patterns
These are really the same as the f16 (and i16) instructions, but we need
them for any type that can occur.
This is the fix. It is included in r28.
It doesn't cherry-pick cleanly to r27 - will try to resolve conflicts next week.
Thanks! I'm looking forward to it.
The patch applies cleanly using patch
command and only failed to apply with git am
- which is not required for the CI build. r.android.com/3217552 has the cherry-pick.
Description
I tried to fix a build error of ncnn for Android 'arm64-v8a' ABI with NDK r27 by enabling cmake policy CMP0057 for cmake version >=3.3 in PR https://github.com/Tencent/ncnn/pull/5615, but build failed on 'X86' ABI:
The Github Action check of that PR shows a similar problem of 'X86' ABI on Linux. Manually turning off avx512bf16 by adding
-DNCNN_AVX512BF16=OFF
can pass the compilation. And there is no problem with NDK r26. Attached files: cast_x86_avx512bf16-b8d4a1.zip full_log: x86_build_error.txtAffected versions
r27
Canary version
No response
Host OS
Linux, Windows
Host OS version
Windows 11 Pro (22631.3958), Linux unknown (GitHub Action)
Affected ABIs
x86, x86_64
Build system
CMake
Other build system
No response
minSdkVersion
29
Device API level
No response