check if GEMM_MULTITHREAD_THRESHOLD defined in gemm.c

On Ubuntu, OpenBLAS won't build because this symbol never gets
defined in this file by the build system.
This commit is contained in:
Lars Buitinck 2013-08-28 17:20:16 +02:00
parent 835293cc1a
commit baff5d6ba6
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,