Count cpu cores on ARMV8 and use that to pick the GEMM_PQ parameters (#2267)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 25 Sep 2019 21:13:24 +0000 (23:13 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2019 21:13:24 +0000 (23:13 +0200)
commit6b830793686c06fed3f517ca1e95854891bbed6f
tree00e1d6b6728b051501743d6a21d5e5d793031c78
parent673e5a049585f307fec09f38e8774d3ef902d239
Count cpu cores on ARMV8 and use that to pick the GEMM_PQ parameters (#2267)

There is currently no simple way to query cache sizes on ARMV8, so this takes the number of cores as a trivial indication if the target is a server-class device with a big cache, or just a single-board toy or smartphone.
cpuid_arm64.c
param.h