ndk-samples icon indicating copy to clipboard operation
ndk-samples copied to clipboard

Support for armv8 arch only devices

Open nfynt opened this issue 1 year ago • 1 comments

Recent pixel devices do not report armv7 arch support and only arm64-v8a. This causes benchmark test to exit early with message stating "Not an ARMv7 and not an X86 SSSE3 CPU !\n".

This update includes check for ANDROID_CPU_FAMILY_ARM64 along with subsequent cmake and gradle updates for running the test app.

nfynt avatar Apr 06 '24 13:04 nfynt

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Apr 06 '24 13:04 google-cla[bot]

I think you probably need to update https://github.com/android/ndk-samples/blob/ece52f26503987bbfd2ded8c73ffde05c457d035/hello-neon/app/src/main/cpp/helloneon-intrinsics.c#L18?

DanAlbert avatar May 03 '24 20:05 DanAlbert

Actually it was the CMakeLists.txt that needed updating. Pushed the fix to your branch.

DanAlbert avatar May 03 '24 20:05 DanAlbert