Browse Source

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.
pull/290/head
Lars Buitinck 12 years ago
parent
commit
baff5d6ba6
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      interface/gemm.c

+ 4
- 0
interface/gemm.c 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,


Loading…
Cancel
Save