summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_affinity.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2020-01-03 22:03:42 -0500
committerKelvin Li <kkwli0@gmail.com>2020-01-03 22:03:42 -0500
commited5fe64581f4f076c00d5e57caff1ff746d57c79 (patch)
tree3d9d49322be077db38ba3b36d8573fbc7faafb59 /openmp/runtime/src/kmp_affinity.cpp
parent0f1e7993e9bd8c9d80d8adddfc59aeae10d9fad3 (diff)
downloadbcm5719-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/src/kmp_affinity.cpp')
-rw-r--r--openmp/runtime/src/kmp_affinity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_affinity.cpp b/openmp/runtime/src/kmp_affinity.cpp
index 349a6c627b0..012d2a2c470 100644
--- a/openmp/runtime/src/kmp_affinity.cpp
+++ b/openmp/runtime/src/kmp_affinity.cpp
@@ -2076,7 +2076,7 @@ static int __kmp_affinity_create_cpuinfo_map(AddrUnsPair **address2os,
return -1;
}
- // Set the file pointer back to the begginning, so that we can scan the file
+ // Set the file pointer back to the beginning, so that we can scan the file
// again, this time performing a full parse of the data. Allocate a vector of
// ProcCpuInfo object, where we will place the data. Adding an extra element
// at the end allows us to remove a lot of extra checks for termination
@@ -2461,7 +2461,7 @@ restart_radix_check:
threadInfo[i][threadIdIndex] = threadIdCt++;
}
- // Aparrently the thread id field was specified for some entries and
+ // Apparently the thread id field was specified for some entries and
// not others. Start the thread id counter off at the next higher
// thread id.
else if (threadIdCt <= threadInfo[i][threadIdIndex]) {
OpenPOWER on IntegriCloud