moved openmp replacement header
This commit is contained in:
parent
a3000019db
commit
d72c48500b
@ -19,11 +19,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
|
||||
*/
|
||||
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#else
|
||||
const int omp_get_num_procs() { return 1; }
|
||||
const int omp_get_max_threads() { return 1; }
|
||||
const int omp_get_thread_num() { return 0; }
|
||||
const int omp_set_num_threads(int i) {}
|
||||
#endif
|
@ -36,7 +36,12 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "openmp.h"
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#else
|
||||
#include "Util/OpenMPReplacement.h"
|
||||
#endif
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "Contractor/Contractor.h"
|
||||
#include "Contractor/ContractionCleanup.h"
|
||||
|
@ -43,7 +43,12 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
#include <unistd.h>
|
||||
#include <stxxl.h>
|
||||
|
||||
#include "openmp.h"
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#else
|
||||
#include "Util/OpenMPReplacement.h"
|
||||
#endif
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "DataStructures/InputReaderFactory.h"
|
||||
#include "DataStructures/ExtractorCallBacks.h"
|
||||
|
@ -24,7 +24,11 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
#include <boost/thread.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
#include "openmp.h"
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#else
|
||||
#include "Util/OpenMPReplacement.h"
|
||||
#endif
|
||||
|
||||
#include "Server/ServerConfiguration.h"
|
||||
#include "Server/ServerFactory.h"
|
||||
|
Loading…
Reference in New Issue
Block a user