[Openmp-commits] [openmp] 747a490 - [OpenMP][libomp] Fix some Doxygen issues
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Tue Apr 12 09:09:22 PDT 2022
Author: Jonathan Peyton
Date: 2022-04-12T11:05:30-05:00
New Revision: 747a490612831c3292825e9de74bf4b64a5c346d
URL: https://github.com/llvm/llvm-project/commit/747a490612831c3292825e9de74bf4b64a5c346d
DIFF: https://github.com/llvm/llvm-project/commit/747a490612831c3292825e9de74bf4b64a5c346d.diff
LOG: [OpenMP][libomp] Fix some Doxygen issues
Fix spelling of variable names and remove accidental references (#)
in Doxygen comments.
Added:
Modified:
openmp/runtime/src/kmp_csupport.cpp
openmp/runtime/src/kmp_tasking.cpp
openmp/runtime/src/kmp_wait_release.h
Removed:
################################################################################
diff --git a/openmp/runtime/src/kmp_csupport.cpp b/openmp/runtime/src/kmp_csupport.cpp
index d978044f9b81b..863153bd5526c 100644
--- a/openmp/runtime/src/kmp_csupport.cpp
+++ b/openmp/runtime/src/kmp_csupport.cpp
@@ -354,9 +354,9 @@ void __kmpc_push_num_teams(ident_t *loc, kmp_int32 global_tid,
@ingroup PARALLEL
@param loc source location information
@param global_tid global thread number
- at param num_teams_lo lower bound on number of teams requested for the teams
+ at param num_teams_lb lower bound on number of teams requested for the teams
construct
- at param num_teams_up upper bound on number of teams requested for the teams
+ at param num_teams_ub upper bound on number of teams requested for the teams
construct
@param num_threads number of threads per team requested for the teams construct
diff --git a/openmp/runtime/src/kmp_tasking.cpp b/openmp/runtime/src/kmp_tasking.cpp
index 63f7ddc1aa478..159c50e081d91 100644
--- a/openmp/runtime/src/kmp_tasking.cpp
+++ b/openmp/runtime/src/kmp_tasking.cpp
@@ -2251,7 +2251,7 @@ kmp_int32 __kmpc_omp_taskyield(ident_t *loc_ref, kmp_int32 gtid, int end_part) {
Flags for special info per task reduction item.
*/
typedef struct kmp_taskred_flags {
- /*! 1 - use lazy alloc/init (e.g. big objects, #tasks < #threads) */
+ /*! 1 - use lazy alloc/init (e.g. big objects, num tasks < num threads) */
unsigned lazy_priv : 1;
unsigned reserved31 : 31;
} kmp_taskred_flags_t;
@@ -5092,7 +5092,7 @@ void __kmpc_taskloop(ident_t *loc, int gtid, kmp_task_t *task, int if_val,
@param nogroup Flag, 1 if nogroup clause specified, 0 otherwise
@param sched Schedule specified 0/1/2 for none/grainsize/num_tasks
@param grainsize Schedule value if specified
- at param modifer Modifier 'strict' for sched, 1 if present, 0 otherwise
+ at param modifier Modifier 'strict' for sched, 1 if present, 0 otherwise
@param task_dup Tasks duplication routine
Execute the taskloop construct.
diff --git a/openmp/runtime/src/kmp_wait_release.h b/openmp/runtime/src/kmp_wait_release.h
index b32cb15de1b2d..59369dcd7a14b 100644
--- a/openmp/runtime/src/kmp_wait_release.h
+++ b/openmp/runtime/src/kmp_wait_release.h
@@ -105,7 +105,7 @@ template <flag_type FlagType> class kmp_flag {
protected:
flag_properties t; /**< "Type" of the flag in loc */
kmp_info_t *waiting_threads[1]; /**< Threads sleeping on this thread. */
- kmp_uint32 num_waiting_threads; /**< #threads sleeping on this thread. */
+ kmp_uint32 num_waiting_threads; /**< Num threads sleeping on this thread. */
std::atomic<bool> *sleepLoc;
public:
More information about the Openmp-commits
mailing list