set GEMM_PREFERED_SIZE for HASWELL
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 16 Dec 2018 23:08:31 +0000 (23:08 +0000)
committerArjan van de Ven <arjan@linux.intel.com>
Sun, 16 Dec 2018 23:09:27 +0000 (23:09 +0000)
Haswell likes a GEMM_PREFERED_SIZE of 16 to improve the split that the
threading code does to make it a nice multiple of the SIMD kernel size

param.h

diff --git a/param.h b/param.h
index 7a18d82..fa67302 100644 (file)
--- a/param.h
+++ b/param.h
@@ -1508,6 +1508,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define SYMV_P  8
 
 #define SWITCH_RATIO   32
+#define GEMM_PREFERED_SIZE     16
 
 #ifdef ARCH_X86