[Bug libgomp/115367] The implementation of OMP_DYNAMIC is not dynamic

2024-06-06 Thread comptes at ugo235 dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115367 PierU changed: What|Removed |Added CC||comptes at ugo235 dot fr --- Comment #3 from Pi

[Bug libgomp/115367] The implementation of OMP_DYNAMIC is not dynamic

2024-06-06 Thread comptes at ugo235 dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115367 --- Comment #2 from PierU --- I can confirm it's really dynamic, i.e. the number of threads can change each time a parallel region is started. I tested with this Fortran toy example: ``` program p use omp_lib implicit none real, allocatable ::

[Bug libgomp/115367] The implementation of OMP_DYNAMIC is not dynamic

2024-06-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115367 --- Comment #1 from Jakub Jelinek --- (In reply to Niklas Hambüchen from comment #0) > Those docs sound like the behaviour is nice "runtime-dynamic" when in fact > it is fixed across the process's liftime, and based on ultra-slow rolling > avera