The LOMP library does not currently handle changing the number of threads.
Fully supporting the OpenMP standard and allowing changes in the number of active threads (by both omp_set_num_threads() or the num_threads()clause of omp parallel directive) would be a useful enhancement to the runtime.
The LOMP library does not currently handle changing the number of threads.
Fully supporting the OpenMP standard and allowing changes in the number of active threads (by both
omp_set_num_threads()
or thenum_threads()
clause ofomp parallel
directive) would be a useful enhancement to the runtime.A further enhancement would be additionally to support the OpenMP 5.1 features for quiescing the runtime. (https://www.openmp.org/spec-html/5.1/openmpse36.html#x201-2340003.6)