Paul-Antoine Arras wrote:
On 23/06/2026 13:07, Tobias Burnus wrote:
Paul-Antoine Arras:
For static-schedule worksharing loops (`omp for schedule(static)') the
compiler emits two separate calls -- omp_get_thread_num() and
omp_get_num_threads() -- to obtain the thread id and count. Similarly,
for `omp distribute' constructs, it emits omp_get_team_num() and
omp_get_num_teams().  Because these are public OpenMP API routines, OMPT
cannot distinguish them from user-level queries.

Introduce two new libgomp entry points:

[...]

LGTM.

However, can you as follow up update libgomp.texi?
https://gcc.gnu.org/onlinedocs/libgomp/The-libgomp-ABI.html – at
least mentioning the update masked/master (maybe referring to the
old one was legacy version?) And fix the ATOMIC one, where the function
names do not match the actually ones ones.

Thanks again for the patches!

Tobias


Reply via email to