dlib neon support flag on Nvidia tx2 board
dlib neon support flag on Nvidia tx2 board
The arm structure of tx2 board is AArch64 supporting neon natively, no need to specify -mfpu=neon.
But in dlib simd code, there are switches like #ifdef DLIB_HAVE_SSE2, #elif defined(DLIB_HAVE_NEON), else(non-sse, non-neon).
I did profiling for some dlib functions, it didn't affect the time whether or not I define MACRO DLIB_HAVE_NEON? While it should be faster if I use DLIB_HAVE_NEON branch then else branch.
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.