We expect 3 threads for outer parallelism and 2 threads for inner
outer_tid outer_tnum outer_get_max_threads inner_tid inner_tnum inner_get_num_threads inner_get_max_threads [18076] [0] [3] [18076] [0] [1] [3] [18078] [1] [3] [18078] [0] [1] [3] [18079] [2] [3] [18079] [0] [1] [3]3 threads for outer as expected (3 unique values for outer_num)
Only 1 for inner. Seems that gnu openmp is aware it's in nested parallelism which is disable by default.
3 threads for outer as expected.
In master thread of outer: 2 inner threads as expected
In other threads: as many as possible (4 is the value returned by omp_get_max_threads before entering the parallel region)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4