Browse Source

refs #103 Increase GEMM_MULTITHREAD_THRESHOLD to 50.

tags/v0.2.0^2
Xianyi Zhang 13 years ago
parent
commit
7f89edee3e
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Makefile.rule
  2. +1
    -1
      Makefile.system

+ 2
- 2
Makefile.rule View 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).


+ 1
- 1
Makefile.system View 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)



Loading…
Cancel
Save