Mentions légales du service

Skip to content
Snippets Groups Projects
Unverified Commit f9599fe8 authored by Samuel St-Jean's avatar Samuel St-Jean Committed by GitHub
Browse files

fix omp deprecation warnings

parent 374ac4e9
No related branches found
No related tags found
No related merge requests found
......@@ -289,7 +289,7 @@ static inline int init_omp(const int numThreads) {
int NUM_THREADS;
#ifdef _OPENMP
NUM_THREADS = (numThreads == -1) ? MIN(MAX_THREADS,omp_get_num_procs()) : numThreads;
omp_set_nested(0);
omp_set_max_active_levels(1);
omp_set_dynamic(0);
omp_set_num_threads(NUM_THREADS);
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment