refs #103 Increase GEMM_MULTITHREAD_THRESHOLD to 50.
authorXianyi Zhang <xianyi@iscas.ac.cn>
Thu, 3 May 2012 12:05:34 +0000 (20:05 +0800)
committerXianyi Zhang <xianyi@iscas.ac.cn>
Thu, 3 May 2012 12:05:34 +0000 (20:05 +0800)
Makefile.rule
Makefile.system

index b6cf98a3e12995edd0135bc09e1822d05e9c0182..56cd63540e61d55c7ad86b47fe14bb639cd9d5d6 100644 (file)
@@ -94,8 +94,8 @@ VERSION = 0.1.1
 
 # If any gemm arguement m, n or k is less or equal this threshold, gemm will be execute 
 # with single thread. You can use this flag to avoid the overhead of multi-threading 
-# in small matrix sizes. The default value is 4.
-# GEMM_MULTITHREAD_THRESHOLD = 4
+# in small matrix sizes. The default value is 50.
+# GEMM_MULTITHREAD_THRESHOLD = 50
 
 # If you need santy check by comparing reference BLAS. It'll be very
 # slow (Not implemented yet).
index e2fe9f7304ebcf2fa519c2892d59f9092202403b..ef2e8fcdd84d40a413b5e6fddd2fe0fed4e38e46 100644 (file)
@@ -45,7 +45,7 @@ GETARCH_FLAGS += -DUSE64BITINT
 endif
 
 ifndef GEMM_MULTITHREAD_THRESHOLD
-GEMM_MULTITHREAD_THRESHOLD=4
+GEMM_MULTITHREAD_THRESHOLD=50
 endif
 GETARCH_FLAGS  += -DGEMM_MULTITHREAD_THRESHOLD=$(GEMM_MULTITHREAD_THRESHOLD)