summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-01-07 14:03:31 +0800
committerJim Lin <tclin914@gmail.com>2020-01-07 14:05:03 +0800
commit4c6a098ad52fc2844f7733bc051cd7a729500f04 (patch)
tree193f3aec653ba4efa032f12fd62c3a4f5b5cf57f /openmp/runtime/test
parent6598af4a54b0f67cdaf14ca1b6809e6f109679e8 (diff)
downloadbcm5719-llvm-4c6a098ad52fc2844f7733bc051cd7a729500f04.tar.gz
bcm5719-llvm-4c6a098ad52fc2844f7733bc051cd7a729500f04.zip
[OpenMP] NFC: Fix trivial typos in comments
Reviewers: jdoerfert, Jim Reviewed By: Jim Subscribers: Jim, mgorny, guansong, jfb, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D72285
Diffstat (limited to 'openmp/runtime/test')
-rw-r--r--openmp/runtime/test/ompt/synchronization/lock.c2
-rw-r--r--openmp/runtime/test/ompt/synchronization/nest_lock.c2
-rw-r--r--openmp/runtime/test/threadprivate/omp_threadprivate.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/openmp/runtime/test/ompt/synchronization/lock.c b/openmp/runtime/test/ompt/synchronization/lock.c
index 2a934ee855a..6a4f88a11cc 100644
--- a/openmp/runtime/test/ompt/synchronization/lock.c
+++ b/openmp/runtime/test/ompt/synchronization/lock.c
@@ -5,7 +5,7 @@
int main()
{
- //need to use an OpenMP construct so that OMPT will be initalized
+ //need to use an OpenMP construct so that OMPT will be initialized
#pragma omp parallel num_threads(1)
print_ids(0);
diff --git a/openmp/runtime/test/ompt/synchronization/nest_lock.c b/openmp/runtime/test/ompt/synchronization/nest_lock.c
index 159048e2e74..813c170c0d6 100644
--- a/openmp/runtime/test/ompt/synchronization/nest_lock.c
+++ b/openmp/runtime/test/ompt/synchronization/nest_lock.c
@@ -5,7 +5,7 @@
int main()
{
- //need to use an OpenMP construct so that OMPT will be initalized
+ //need to use an OpenMP construct so that OMPT will be initialized
#pragma omp parallel num_threads(1)
print_ids(0);
diff --git a/openmp/runtime/test/threadprivate/omp_threadprivate.c b/openmp/runtime/test/threadprivate/omp_threadprivate.c
index a3dd80d9d5f..48ac65877c4 100644
--- a/openmp/runtime/test/threadprivate/omp_threadprivate.c
+++ b/openmp/runtime/test/threadprivate/omp_threadprivate.c
@@ -62,7 +62,7 @@ int test_omp_threadprivate()
my_random = rand(); /* random number generator is
called inside serial region*/
- /* the first parallel region is used to initialiye myvalue
+ /* the first parallel region is used to initialize myvalue
and the array with my_random+rank */
#pragma omp parallel
{
OpenPOWER on IntegriCloud