Always assume server-class cpu count for TSV110 and EMAG8180
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 26 Feb 2020 21:19:57 +0000 (22:19 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Feb 2020 21:19:57 +0000 (22:19 +0100)
param.h

diff --git a/param.h b/param.h
index 055749d..2b7b4a0 100644 (file)
--- a/param.h
+++ b/param.h
@@ -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