[OpenMP][libomp] Fix some Doxygen issues

Fix spelling of variable names and remove accidental references (#)
in Doxygen comments.
This commit is contained in:
Jonathan Peyton 2022-04-12 11:00:36 -05:00
parent d0ea42a7c1
commit 747a490612
3 changed files with 5 additions and 5 deletions

View File

@ -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
@param num_teams_lo lower bound on number of teams requested for the teams
@param num_teams_lb lower bound on number of teams requested for the teams
construct
@param num_teams_up upper bound on number of teams requested for the teams
@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

View File

@ -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
@param modifer Modifier 'strict' for sched, 1 if present, 0 otherwise
@param modifier Modifier 'strict' for sched, 1 if present, 0 otherwise
@param task_dup Tasks duplication routine
Execute the taskloop construct.

View File

@ -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: