-
Notifications
You must be signed in to change notification settings - Fork 371
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
ARMv7 (with NEON) can not support on Linux but only support ARMv7 (with NEON) on Android #6210
Comments
armsimd32 is ARMv6 style simd - 4 bytes. It provides optimization on cpus without NEON. In bazel there is a section with the build options applied:
and CMakeLists.txt has similar options
The types come from the arm header
Can you confirm the build system and compiler you used and that These kernels are meant for Cortex M series that dont have Neon |
@fbarchard Thank you for your help. |
There is an armv7 script for android. When I tried it with NDK 21 it had a build error against I8MM due to an old version of clang being used, so I made cmake check the clang version and disable it. Are you using scripts/build-local.sh ? |
Is this issues still relevant? Can we close? |
Sure, thank you |
Hi, I find that XNNPACK can not support ARMv7 (with NEON) on Linux,
but only support ARMv7 (with NEON) on Android?
part error log:
/tensorflow/build_arm/xnnpack/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x2c4-minmax-fp32-armsimd32.c:80:15: error: unknown type name ‘int16x2_t’ const int16x2_t va1c02 = __sxtb16(va1);
The text was updated successfully, but these errors were encountered: