From 4c6a098ad52fc2844f7733bc051cd7a729500f04 Mon Sep 17 00:00:00 2001 From: Kazuaki Ishizaki Date: Tue, 7 Jan 2020 14:03:31 +0800 Subject: [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 --- openmp/runtime/test/ompt/synchronization/lock.c | 2 +- openmp/runtime/test/ompt/synchronization/nest_lock.c | 2 +- openmp/runtime/test/threadprivate/omp_threadprivate.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'openmp/runtime/test') 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 { -- cgit v1.2.3