summaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-22 22:37:22 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-22 22:37:22 +0000
commit42ee53631554fb4623a63c2fa23e65c4079332f9 (patch)
tree1f880d35c37fa842de34ff95425be59320989d01 /openmp
parentbeaa60682a476cd280885079b0e93d2589b211b1 (diff)
Fix doxygen comments
These fixes make doxygen happy.
Diffstat (limited to 'openmp')
-rw-r--r--openmp/runtime/src/kmp_csupport.c5
-rw-r--r--openmp/runtime/src/kmp_sched.cpp9
2 files changed, 6 insertions, 8 deletions
diff --git a/openmp/runtime/src/kmp_csupport.c b/openmp/runtime/src/kmp_csupport.c
index 23bb37ceef0..5dc706a4ae3 100644
--- a/openmp/runtime/src/kmp_csupport.c
+++ b/openmp/runtime/src/kmp_csupport.c
@@ -84,7 +84,7 @@ This function can be called in any context.
If the runtime has ony been entered at the outermost level from a
single (necessarily non-OpenMP<sup>*</sup>) thread, then the thread number is that
-which would be returned by @ref omp_get_thread_num() in the outermost
+which would be returned by omp_get_thread_num() in the outermost
active parallel construct. (Or zero if there is no active parallel
construct, since the master thread is necessarily thread zero).
@@ -336,6 +336,7 @@ __kmpc_fork_call(ident_t *loc, kmp_int32 argc, kmpc_micro microtask, ...)
@param loc source location information
@param global_tid global thread number
@param num_teams number of teams requested for the teams construct
+@param num_threads number of threads per team requested for the teams construct
Set the number of teams to be used by the teams construct.
This call is only required if the teams construct has a `num_teams` clause
@@ -2176,7 +2177,7 @@ __kmpc_test_lock( ident_t *loc, kmp_int32 gtid, void **user_lock )
int rc;
int tag = DYNA_EXTRACT_D_TAG(user_lock);
# if USE_ITT_BUILD
- __kmp_itt_lock_acquiring((kmp_user_lock_p)user_lock);
+ __kmp_itt_lock_acquiring((kmp_user_lock_p)user_lock);
# endif
# if DYNA_USE_FAST_TAS
if (tag == locktag_tas && !__kmp_env_consistency_check) {
diff --git a/openmp/runtime/src/kmp_sched.cpp b/openmp/runtime/src/kmp_sched.cpp
index 46b5987cf56..0821f3805a4 100644
--- a/openmp/runtime/src/kmp_sched.cpp
+++ b/openmp/runtime/src/kmp_sched.cpp
@@ -782,17 +782,14 @@ __kmpc_for_static_init_8u( ident_t *loc, kmp_int32 gtid, kmp_int32 schedtype, km
@ingroup WORK_SHARING
@param loc Source code location
@param gtid Global thread id of this thread
-@param scheduleD Scheduling type for the distribute
-@param scheduleL Scheduling type for the parallel loop
+@param schedule Scheduling type for the parallel loop
@param plastiter Pointer to the "last iteration" flag
@param plower Pointer to the lower bound
@param pupper Pointer to the upper bound of loop chunk
@param pupperD Pointer to the upper bound of dist_chunk
-@param pstrideD Pointer to the stride for distribute
-@param pstrideL Pointer to the stride for parallel loop
+@param pstride Pointer to the stride for parallel loop
@param incr Loop increment
-@param chunkD The chunk size for the distribute
-@param chunkL The chunk size for the parallel loop
+@param chunk The chunk size for the parallel loop
Each of the four functions here are identical apart from the argument types.