This commit is contained in:
kalenhaha
2014-04-06 22:51:52 +08:00
parent ddb8a6982c
commit 6bc71df494
12 changed files with 1106 additions and 936 deletions

View File

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