fix base score, and print message

This commit is contained in:
tqchen@graphlab.com
2014-08-18 10:53:15 -07:00
parent 04e04ec5a0
commit f6c763a2a7
7 changed files with 39 additions and 14 deletions

View File

@@ -8,7 +8,9 @@
#if defined(_OPENMP)
#include <omp.h>
#else
#ifndef DISABLE_OPENMP
#warning "OpenMP is not available, compile to single thread code"
#endif
inline int omp_get_thread_num() { return 0; }
inline int omp_get_num_threads() { return 1; }
inline void omp_set_num_threads(int nthread) {}