-
Notifications
You must be signed in to change notification settings - Fork 37
Fix arm support for Linux #1064
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
base: master
Are you sure you want to change the base?
Conversation
…where (with Andrea Valassi)
a427610 to
1e1c899
Compare
|
Needed to cancel some job since they hang when running |
…ests on aarch64 (with DanieleM) This fixes a hang in the testMist tests on aarch64 in sqrtNewtonRaphson (madgraph5#1064) (testMisc -> constexpr_tan -> constexpr_tan_quad -> constexpr_cos_quad -> constexpr_sqrt -> sqrtNewtonRaphson) It uses the same workaround previously adopted for avoiding testMisc hangs when running valgrind (madgraph5#906)
…ts on aarch64 (with DanieleM) This fixes a hang in the testMist tests on aarch64 in sqrtNewtonRaphson (madgraph5#1064) (testMisc -> constexpr_tan -> constexpr_tan_quad -> constexpr_cos_quad -> constexpr_sqrt -> sqrtNewtonRaphson) It uses the same workaround previously adopted for avoiding testMisc hangs when running valgrind (madgraph5#906)
…ests on aarch64 (with DanieleM) This fixes a hang in the testMisc tests on aarch64 in sqrtNewtonRaphson (madgraph5#1064) (testMisc -> constexpr_tan -> constexpr_tan_quad -> constexpr_cos_quad -> constexpr_sqrt -> sqrtNewtonRaphson) It uses the same workaround previously adopted for avoiding testMisc hangs when running valgrind (madgraph5#906)
…ts on aarch64 (with DanieleM) This fixes a hang in the testMisc tests on aarch64 in sqrtNewtonRaphson (madgraph5#1064) (testMisc -> constexpr_tan -> constexpr_tan_quad -> constexpr_cos_quad -> constexpr_sqrt -> sqrtNewtonRaphson) It uses the same workaround previously adopted for avoiding testMisc hangs when running valgrind (madgraph5#906)
…ts on aarch64 (with DanieleM) This fixes a hang in the testMisc tests on aarch64 in sqrtNewtonRaphson (madgraph5#1064) (testMisc -> constexpr_tan -> constexpr_tan_quad -> constexpr_cos_quad -> constexpr_sqrt -> sqrtNewtonRaphson) It uses the same workaround previously adopted for avoiding testMisc hangs when running valgrind (madgraph5#906)
…ith DanieleM) Remove the custom __ARM_NEON__ with two extra underscores Use 'g++ -march=armv8.2-a+simd -E -dM - < /dev/null | grep ARM' to check
…e (with DanieleM)
1e1c899 to
c7296ac
Compare
|
Latest changes involves using |
…ts (#2) on aarch64 (with DanieleM)
…using constexpr_sqrt on aarch64 (with DanieleM)
c7296ac to
2232671
Compare
valassi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Qubitol thanks for all the work on this! The tests are now finally passing in the CI. I suggest that we merge this.
|
We should consider changing the instances of |
Apparently, arm was working only in case of Mac (where
uname -pgivesarm) and not in case of most Linux distributions (whereuname -pisaarch64).I fixed that: CUDACPP can now run on arm, with support also for neon (equivalent to
cppsse4and picked up using the same backend name).In the makefiles, support for higher vectorisation is not present, but this can be something that we could think of adding in the next future.
I added tests on Linux arm as well.
I needed to regenerate the processes to update the makefiles.