diff options
| author | Kelvin Li <kkwli0@gmail.com> | 2020-01-03 22:03:42 -0500 |
|---|---|---|
| committer | Kelvin Li <kkwli0@gmail.com> | 2020-01-03 22:03:42 -0500 |
| commit | ed5fe64581f4f076c00d5e57caff1ff746d57c79 (patch) | |
| tree | 3d9d49322be077db38ba3b36d8573fbc7faafb59 /openmp/runtime/test | |
| parent | 0f1e7993e9bd8c9d80d8adddfc59aeae10d9fad3 (diff) | |
| download | bcm5719-llvm-ed5fe64581f4f076c00d5e57caff1ff746d57c79.tar.gz bcm5719-llvm-ed5fe64581f4f076c00d5e57caff1ff746d57c79.zip | |
[OpenMP] NFC: Fix trivial typos in comments
Submitted by: kiszk
Differential Revision: https://reviews.llvm.org/D72171
Diffstat (limited to 'openmp/runtime/test')
6 files changed, 6 insertions, 6 deletions
diff --git a/openmp/runtime/test/ompt/callback.h b/openmp/runtime/test/ompt/callback.h index a5ba897c6ec..cd507ad541e 100644 --- a/openmp/runtime/test/ompt/callback.h +++ b/openmp/runtime/test/ompt/callback.h @@ -149,7 +149,7 @@ ompt_label_##id: print_possible_return_addresses(get_ompt_label_address(id)) #if KMP_ARCH_X86 || KMP_ARCH_X86_64 -// On X86 the NOP instruction is 1 byte long. In addition, the comiler inserts +// On X86 the NOP instruction is 1 byte long. In addition, the compiler inserts // a MOV instruction for non-void runtime functions which is 3 bytes long. #define print_possible_return_addresses(addr) \ printf("%" PRIu64 ": current_address=%p or %p for non-void functions\n", \ diff --git a/openmp/runtime/test/tasking/omp_taskloop_grainsize.c b/openmp/runtime/test/tasking/omp_taskloop_grainsize.c index 0833073efb2..f1812bd7d0b 100644 --- a/openmp/runtime/test/tasking/omp_taskloop_grainsize.c +++ b/openmp/runtime/test/tasking/omp_taskloop_grainsize.c @@ -8,7 +8,7 @@ /* * Test for taskloop - * Method: caculate how many times the iteration space is dispatched + * Method: calculate how many times the iteration space is dispatched * and judge if each dispatch has the requested grainsize * It is possible for two adjacent chunks are executed by the same thread */ diff --git a/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c b/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c index 75cc337aad9..1999cb57d28 100644 --- a/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c +++ b/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c @@ -12,7 +12,7 @@ /* * Test for taskloop - * Method: caculate how many times the iteration space is dispatched + * Method: calculate how many times the iteration space is dispatched * and judge if each dispatch has the requested grainsize * It is possible for two adjacent chunks are executed by the same thread */ diff --git a/openmp/runtime/test/worksharing/for/omp_for_bigbounds.c b/openmp/runtime/test/worksharing/for/omp_for_bigbounds.c index 901d7608327..9be72fa136f 100644 --- a/openmp/runtime/test/worksharing/for/omp_for_bigbounds.c +++ b/openmp/runtime/test/worksharing/for/omp_for_bigbounds.c @@ -7,7 +7,7 @@ /* * Test that large bounds are handled properly and calculations of - * loop iterations don't accidently overflow + * loop iterations don't accidentally overflow */ #include <stdio.h> #include <omp.h> diff --git a/openmp/runtime/test/worksharing/for/omp_for_schedule_dynamic.c b/openmp/runtime/test/worksharing/for/omp_for_schedule_dynamic.c index 6d4f59b582e..4433d2a3daf 100644 --- a/openmp/runtime/test/worksharing/for/omp_for_schedule_dynamic.c +++ b/openmp/runtime/test/worksharing/for/omp_for_schedule_dynamic.c @@ -1,7 +1,7 @@ // RUN: %libomp-compile-and-run /* * Test for dynamic scheduling with chunk size - * Method: caculate how many times the iteration space is dispatched + * Method: calculate how many times the iteration space is dispatched * and judge if each dispatch has the requested chunk size * unless it is the last one. * It is possible for two adjacent chunks are assigned to the same thread diff --git a/openmp/runtime/test/worksharing/for/omp_for_schedule_static_3.c b/openmp/runtime/test/worksharing/for/omp_for_schedule_static_3.c index 922f27abe4b..307445b5d45 100644 --- a/openmp/runtime/test/worksharing/for/omp_for_schedule_static_3.c +++ b/openmp/runtime/test/worksharing/for/omp_for_schedule_static_3.c @@ -147,7 +147,7 @@ int test_omp_for_schedule_static_3() } /* Now we check if several loop regions in one parallel region have the - * same logical assignement of chunks to threads. We use the nowait + * same logical assignment of chunks to threads. We use the nowait * clause to increase the probability to get an error. */ /* First we allocate some more memmory */ |

