Skip to content

Commit 747a490

Browse files
committed
[OpenMP][libomp] Fix some Doxygen issues
Fix spelling of variable names and remove accidental references (#) in Doxygen comments.
1 parent d0ea42a commit 747a490

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

openmp/runtime/src/kmp_csupport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,9 @@ void __kmpc_push_num_teams(ident_t *loc, kmp_int32 global_tid,
354354
@ingroup PARALLEL
355355
@param loc source location information
356356
@param global_tid global thread number
357-
@param num_teams_lo lower bound on number of teams requested for the teams
357+
@param num_teams_lb lower bound on number of teams requested for the teams
358358
construct
359-
@param num_teams_up upper bound on number of teams requested for the teams
359+
@param num_teams_ub upper bound on number of teams requested for the teams
360360
construct
361361
@param num_threads number of threads per team requested for the teams construct
362362

openmp/runtime/src/kmp_tasking.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,7 @@ kmp_int32 __kmpc_omp_taskyield(ident_t *loc_ref, kmp_int32 gtid, int end_part) {
22512251
Flags for special info per task reduction item.
22522252
*/
22532253
typedef struct kmp_taskred_flags {
2254-
/*! 1 - use lazy alloc/init (e.g. big objects, #tasks < #threads) */
2254+
/*! 1 - use lazy alloc/init (e.g. big objects, num tasks < num threads) */
22552255
unsigned lazy_priv : 1;
22562256
unsigned reserved31 : 31;
22572257
} kmp_taskred_flags_t;
@@ -5092,7 +5092,7 @@ void __kmpc_taskloop(ident_t *loc, int gtid, kmp_task_t *task, int if_val,
50925092
@param nogroup Flag, 1 if nogroup clause specified, 0 otherwise
50935093
@param sched Schedule specified 0/1/2 for none/grainsize/num_tasks
50945094
@param grainsize Schedule value if specified
5095-
@param modifer Modifier 'strict' for sched, 1 if present, 0 otherwise
5095+
@param modifier Modifier 'strict' for sched, 1 if present, 0 otherwise
50965096
@param task_dup Tasks duplication routine
50975097
50985098
Execute the taskloop construct.

openmp/runtime/src/kmp_wait_release.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ template <flag_type FlagType> class kmp_flag {
105105
protected:
106106
flag_properties t; /**< "Type" of the flag in loc */
107107
kmp_info_t *waiting_threads[1]; /**< Threads sleeping on this thread. */
108-
kmp_uint32 num_waiting_threads; /**< #threads sleeping on this thread. */
108+
kmp_uint32 num_waiting_threads; /**< Num threads sleeping on this thread. */
109109
std::atomic<bool> *sleepLoc;
110110

111111
public:

0 commit comments

Comments
 (0)