You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config: add SVE detection alongside NEON in aarch64 op component
- Introduce AC_CACHE_CHECK probes for ARM Scalable Vector Extension (SVE)
using both a default compile test and a second test with __attribute__((__target__("+sve"))).
- Define variables op_cv_sve_support and op_cv_sve_add_flags
- Update AM_CONDITIONAL and AC_DEFINE to expose SVE support macros
(OMPI_MCA_OP_HAVE_SVE, OMPI_MCA_OP_SVE_EXTRA_FLAGS).
- Extend final AS_IF to enable the component when either NEON or SVE is available.
- Add a preprocessor guard around SVE-specific function attributes
- Encapsulate the +sve attribute behind OMPI_MCA_OP_SVE_EXTRA_FLAGS, ensuring
that only builds which detected and enabled compiler SVE support will compile with
SVE-targeted code paths.
- Simplifies later code by using SVE_ATTR in function declarations instead of
repeating the attribute clause.
- apply SVE_ATTR macro in C source for conditional +sve targeting
Signed-off-by: Marco Vogel <[email protected]>
0 commit comments