Compare commits

...

Author SHA1 Message Date
  Zhang Xianyi 92058a75e2 For gemm multi-threading, simply split M. 10 years ago
2 changed files with 3 additions and 1 deletions
Split View
  1. +1
    -1
      Makefile.rule
  2. +2
    -0
      common_param.h

+ 1
- 1
Makefile.rule View File

@@ -80,7 +80,7 @@ VERSION = 0.2.16.dev
# NO_LAPACKE = 1

# If you want to use legacy threaded Level 3 implementation.
# USE_SIMPLE_THREADED_LEVEL3 = 1
USE_SIMPLE_THREADED_LEVEL3 = 1

# If you want to drive whole 64bit region by BLAS. Not all Fortran
# compiler supports this. It's safe to keep comment it out if you


+ 2
- 0
common_param.h View File

@@ -1194,6 +1194,8 @@ extern gotoblas_t *gotoblas;
#define XGEMM_DEFAULT_UNROLL_N 2
#endif

#define GEMM_THREAD gemm_thread_m

#ifndef GEMM_THREAD
#define GEMM_THREAD gemm_thread_n
#endif


Loading…
Cancel
Save