return OMP places for thread count when built with OpenMP
This commit is contained in:
parent
46cc347633
commit
9249259cd0
|
@ -250,7 +250,8 @@ int get_num_procs(void) {
|
||||||
return nums;
|
return nums;
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_OPENMP)
|
#if defined(USE_OPENMP)
|
||||||
if (omp_get_proc_bind() != omp_proc_bind_false)
|
/* if (omp_get_proc_bind() != omp_proc_bind_false)*/
|
||||||
|
nums = omp_get_num_places();
|
||||||
return nums;
|
return nums;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1814,7 +1815,8 @@ int get_num_procs(void) {
|
||||||
return nums;
|
return nums;
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_OPENMP)
|
#if defined(USE_OPENMP)
|
||||||
if (omp_get_proc_bind() != omp_proc_bind_false)
|
/* if (omp_get_proc_bind() != omp_proc_bind_false) */
|
||||||
|
nums = omp_get_num_places();
|
||||||
return nums;
|
return nums;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue