Merge pull request #290 from larsmans/missing-threshold

check if GEMM_MULTITHREAD_THRESHOLD defined in gemm.c
Set a fallback value.
This commit is contained in:
Lars Buitinck 2013-08-28 17:20:16 +02:00 committed by Zhang Xianyi
parent cc6db2ecfe
commit 3f7b0cd994
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@
#endif
#endif
#ifndef GEMM_MULTITHREAD_THRESHOLD
# define GEMM_MULTITHREAD_THRESHOLD 4
#endif
static int (*gemm[])(blas_arg_t *, BLASLONG *, BLASLONG *, FLOAT *, FLOAT *, BLASLONG) = {
#ifndef GEMM3M
GEMM_NN, GEMM_TN, GEMM_RN, GEMM_CN,