Re: [Patch] libgomp.texi: Minor update to omp_get_num_devices/omp_get_initial_device

2025-01-07 Thread Tobias Burnus
Now committed as r15-6659-gd3ccd89fa0d34d – with an additional typo fix: stipe → stripe (OpenMP 6.0 loop transformation directive). Tobias commit d3ccd89fa0d34d44226af47fe82c27ba7833fe65 Author: Tobias Burnus Date: Tue Jan 7 16:43:30 2025 +0100 libgomp.texi: Minor update to omp_get_num_d

[Patch] libgomp.texi: Minor update to omp_get_num_devices/omp_get_initial_device

2025-01-07 Thread Tobias Burnus
OpenMP 6 changed that omp_get_initial_device may not only return the dynamic value of omp_get_num_devices() but also the constant value omp_get_num_devices (== -1). For now, GCC returns omp_get_num_devices() but we may want to change this in the future as '-1' can be solved at compile time; in pa