Merge pull request #2447 from martin-frbg/issue2446

Always select ARMV8 parameters for big servers when cpu is TSV110 or EMAG8180
This commit is contained in:
Martin Kroeker 2020-02-27 15:07:02 +01:00 committed by GitHub
commit 430ee31e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2620,7 +2620,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/*FIXME: this should be using the cache size, but there is currently no easy way to
query that on ARM. So if getarch counted more than 8 cores we simply assume the host
is a big desktop or server with abundant cache rather than a phone or embedded device */
#if NUM_CORES > 8
#if NUM_CORES > 8 || defined(TSV110) || defined(EMAG8180)
#define SGEMM_DEFAULT_P 512
#define DGEMM_DEFAULT_P 256
#define CGEMM_DEFAULT_P 256