On 25/06/2026 08:11, Tobias Burnus wrote:
Paul-Antoine Arras wrote:
libgomp/ChangeLog:

    * libgomp.texi (Implementing MASKED and MASTER construct): Update
    pseudocode; describe GOMP_has_masked_thread_num.
    (Implementing ATOMIC construct): Fix stale function names; note
    exclusivity to explicit atomic constructs.
    (Implementing BARRIER construct): Document GOMP_barrier_ext and
    GOMP_barrier_cancel_ext; describe the kind parameter.
    (Implementing REDUCTION clause): Document GOMP_reduction_start and
    GOMP_reduction_end.
    (Implementing FOR construct): Document GOMP_loop_static_worksharing
    and GOMP_distribute_static_worksharing.

LGTM.

Thanks for the update!

Tobias


I misspelled the end tags of the smallexample sections. This is now fixed and pushed as obvious.

Thanks,
--
PA
commit a30f87419e4f3aca712849e34f4eb4bda1d39187
Author: Paul-Antoine Arras <[email protected]>
Date:   Thu Jun 25 11:26:56 2026 +0200

    libgomp.texi: Fix missing @end smallexample arguments
    
    libgomp/ChangeLog:
    
            * libgomp.texi (Implementing MASKED and MASTER construct): Fix
            @end smallexample.
            (Implementing FOR construct): Likewise.

diff --git libgomp/libgomp.texi libgomp/libgomp.texi
index cb08aa08e2c..fa76d6f6e80 100644
--- libgomp/libgomp.texi
+++ libgomp/libgomp.texi
@@ -8033,7 +8033,7 @@ queries:
 
 @smallexample
 omp_get_thread_num() == @var{thread_num}
-@end
+@end smallexample
 
 Hereby, @var{thread_num} has the value of the argument to the @code{filter}
 clause or zero if not specified.
@@ -8319,7 +8319,7 @@ For @code{schedule(static)} without @code{ordered}, the compiler uses:
 
 @smallexample
   _Complex int GOMP_loop_static_worksharing (void)
-@end
+@end smallexample
 
 which returns the thread id in the real part and the thread count in the imaginary
 part as a single value, avoiding separate @code{omp_get_thread_num} /
@@ -8329,7 +8329,7 @@ Similarly, for @code{distribute} constructs:
 
 @smallexample
   _Complex int GOMP_distribute_static_worksharing (void)
-@end
+@end smallexample
 
 returns the team id and team count.
 

Reply via email to