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
{{ message }}
Repository navigation
[AArch64] How to enable Neon (instead of SVE) kernels? #928
First of all, thank you for BLIS and all the surrounding work - it's such a great reference for all GEMM enthusiasts :)
My question might be quite easy to answer - is it possible to enableNeon kernels and use them instead ofSVE on architectures that do implement SVE, e.g. Neoverse-v2?
I've tried forcing the configuration (e.g. with --force-version=armv8a (*)), but keep seeing this in the logs:
configure: configuration 'armsve' is registered.
configure: 'armsve' is defined as having the following sub-configurations:
configure: armsve
configure: which collectively require the following kernels:
configure: armsve
configure: checking sub-configurations:
configure: 'armsve' is registered...and exists.
configure: checking sub-configurations' requisite kernels:configure: 'armsve' kernels...exist.
I haven't tried experimenting on non-SVE hardware yet. Before I attempt that, what should be my expectations? 😅
And just to avoid folks spending too much time on this - longer term I am much more interested in SVE, so if NEON support is limited, I will simply switch to SVE sooner.
Thank you,
-Andrzej
(*) I realise that docs make it clear that armv8a is not an available config:
Notice that while kernel sets usually correspond to a sub-configuration, they do not always. For example, while the `armv7a` and `armv8a` kernel sets are referenced in the example `config_registry` file, there do not exist any registered sub-configurations by those names. However, the kernel directories exist and the kernel sets appear in the definitions of a few `cortex` singleton families.
To force a configuration, try something like ./configure firestorm; any would do, as long as you stay away from either a64fx or armsve (and use a configuration that is compatible with the 64-bit Arm architecture obviously).
I'm leaving this comment for future reference.
FWIW, on macOS M4 Pro (which supports SSVE and SME, but not SVE), I'm able to target NEON with the firestorm configuration.
Thanks to both of you for starting this discussion @banach-space, and for your response, @volyrique :D
Targetting Neon on a platform that does not support SVE is not an issue at all - virtually all of them use Neon, even generic (via autovectorization), I believe. The problem (see issue #641) is that on machines that support SVE the armsve configuration has priority over all others by default (except a64fx, I suppose, when you are using a platform based on A64FX).
Activity
volyrique commentedon Sep 18, 2026
To force a configuration, try something like
./configure firestorm; any would do, as long as you stay away from eithera64fxorarmsve(and use a configuration that is compatible with the 64-bit Arm architecture obviously).FedericoBruzzone commentedon Sep 27, 2026
I'm leaving this comment for future reference.
FWIW, on macOS M4 Pro (which supports SSVE and SME, but not SVE), I'm able to target NEON with the
firestormconfiguration.Thanks to both of you for starting this discussion @banach-space, and for your response, @volyrique :D
volyrique commentedon Sep 27, 2026
Targetting Neon on a platform that does not support SVE is not an issue at all - virtually all of them use Neon, even
generic(via autovectorization), I believe. The problem (see issue #641) is that on machines that support SVE thearmsveconfiguration has priority over all others by default (excepta64fx, I suppose, when you are using a platform based on A64FX).