[Openmp-commits] [openmp] r238060 - Fix spelling errors

Jonathan Peyton jonathan.l.peyton at intel.com
Fri May 22 15:35:51 PDT 2015


Author: jlpeyton
Date: Fri May 22 17:35:51 2015
New Revision: 238060

URL: http://llvm.org/viewvc/llvm-project?rev=238060&view=rev
Log:
Fix spelling errors

These spelling errors are in comments and some debug messages.

Modified:
    openmp/trunk/runtime/cmake/MicroTests.cmake
    openmp/trunk/runtime/src/kmp_alloc.c
    openmp/trunk/runtime/src/kmp_i18n.c
    openmp/trunk/runtime/src/kmp_i18n.h
    openmp/trunk/runtime/src/kmp_lock.cpp
    openmp/trunk/runtime/src/kmp_stats.h
    openmp/trunk/runtime/src/kmp_stub.c
    openmp/trunk/runtime/src/kmp_tasking.c
    openmp/trunk/runtime/src/z_Windows_NT_util.c
    openmp/trunk/runtime/tools/make-fat-binaries.pl

Modified: openmp/trunk/runtime/cmake/MicroTests.cmake
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/cmake/MicroTests.cmake?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/cmake/MicroTests.cmake (original)
+++ openmp/trunk/runtime/cmake/MicroTests.cmake Fri May 22 17:35:51 2015
@@ -18,7 +18,7 @@
 #    - Compile and run a small program using newly created libiomp5 library
 #    - Fails if test-touch.c does not compile or if test-touch.c does not run after compilation
 #    - Program dependencies: gcc or g++, grep, bourne shell
-#    - Available for all Linux,Mac,Windows builds.  Not availble on Intel(R) MIC Architecture builds.
+#    - Available for all Linux,Mac,Windows builds.  Not available on Intel(R) MIC Architecture builds.
 # (2) test-relo
 #    - Tests dynamic libraries for position-dependent code (can not have any position dependent code)
 #    - Fails if TEXTREL is in output of readelf -d libiomp5.so command

Modified: openmp/trunk/runtime/src/kmp_alloc.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_alloc.c?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_alloc.c (original)
+++ openmp/trunk/runtime/src/kmp_alloc.c Fri May 22 17:35:51 2015
@@ -878,7 +878,7 @@ brel(  kmp_info_t *th, void *buf )
     }
     else {
         /* The previous buffer isn't allocated.  Mark this buffer
-           size as positive (i.e. free) and fall throught to place
+           size as positive (i.e. free) and fall through to place
            the buffer on the free list as an isolated free block. */
 
         b->bh.bb.bsize = -b->bh.bb.bsize;

Modified: openmp/trunk/runtime/src/kmp_i18n.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_i18n.c?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_i18n.c (original)
+++ openmp/trunk/runtime/src/kmp_i18n.c Fri May 22 17:35:51 2015
@@ -142,7 +142,7 @@ __kmp_i18n_do_catopen(
 
     if ( status == KMP_I18N_ABSENT ) {
       if (__kmp_generate_warnings > kmp_warnings_low) { // AC: only issue warning in case explicitly asked to
-        int    error   = errno; // Save errno immediatelly.
+        int    error   = errno; // Save errno immediately.
 	char * nlspath = __kmp_env_get( "NLSPATH" );
         char * lang    = __kmp_env_get( "LANG" );
 

Modified: openmp/trunk/runtime/src/kmp_i18n.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_i18n.h?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_i18n.h (original)
+++ openmp/trunk/runtime/src/kmp_i18n.h Fri May 22 17:35:51 2015
@@ -78,7 +78,7 @@ char const *    __kmp_i18n_catgets( kmp_
     where
 
         (1) is a message of warning severity,
-        (2) is a system error caused the previos warning,
+        (2) is a system error caused the previous warning,
         (3) is a hint for the user how to fix the problem,
         (4) is a message of informational severity.
 

Modified: openmp/trunk/runtime/src/kmp_lock.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_lock.cpp?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_lock.cpp (original)
+++ openmp/trunk/runtime/src/kmp_lock.cpp Fri May 22 17:35:51 2015
@@ -3881,7 +3881,7 @@ __kmp_lock_table_insert( kmp_user_lock_p
         table = (kmp_user_lock_p *)__kmp_allocate( sizeof( kmp_user_lock_p ) * size );
         KMP_MEMCPY( table + 1, __kmp_user_lock_table.table + 1, sizeof( kmp_user_lock_p ) * ( __kmp_user_lock_table.used - 1 ) );
         table[ 0 ] = (kmp_user_lock_p)__kmp_user_lock_table.table;
-            // We cannot free the previos table now, sinse it may be in use by other
+            // We cannot free the previous table now, since it may be in use by other
             // threads. So save the pointer to the previous table in in the first element of the
             // new table. All the tables will be organized into a list, and could be freed when
             // library shutting down.

Modified: openmp/trunk/runtime/src/kmp_stats.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_stats.h?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_stats.h (original)
+++ openmp/trunk/runtime/src/kmp_stats.h Fri May 22 17:35:51 2015
@@ -52,7 +52,7 @@ class stats_flags_e {
  * @param macro a user defined macro that takes three arguments - macro(COUNTER_NAME, flags, arg)
  * @param arg a user defined argument to send to the user defined macro
  *
- * \details A counter counts the occurence of some event.
+ * \details A counter counts the occurrence of some event.
  * Each thread accumulates its own count, at the end of execution the counts are aggregated treating each thread
  * as a separate measurement. (Unless onlyInMaster is set, in which case there's only a single measurement).
  * The min,mean,max are therefore the values for the threads.
@@ -336,7 +336,7 @@ Begin ----------------------------------
 
        Then A, B, C will have a nest level of 1, 2, 3 respectively.
        These values are then used to calculate the barwidth so you can
-       see that inside A, B has occured, and inside B, C has occured.
+       see that inside A, B has occurred, and inside B, C has occurred.
        Currently, this is shown with A's bar width being larger than B's
        bar width, and B's bar width being larger than C's bar width.
 

Modified: openmp/trunk/runtime/src/kmp_stub.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_stub.c?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_stub.c (original)
+++ openmp/trunk/runtime/src/kmp_stub.c Fri May 22 17:35:51 2015
@@ -210,7 +210,7 @@ double __kmps_get_wtime( void ) {
             }; // if
         }; // if
     #else
-        // gettimeofday() returns seconds and microseconds sinse the Epoch.
+        // gettimeofday() returns seconds and microseconds since the Epoch.
         struct timeval  tval;
         int             rc;
         rc = gettimeofday( & tval, NULL );

Modified: openmp/trunk/runtime/src/kmp_tasking.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_tasking.c?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_tasking.c (original)
+++ openmp/trunk/runtime/src/kmp_tasking.c Fri May 22 17:35:51 2015
@@ -2698,7 +2698,7 @@ static bool __kmp_give_task ( kmp_info_t
     TCW_4(thread_data -> td.td_deque_ntasks, TCR_4(thread_data -> td.td_deque_ntasks) + 1);
 
     result = true;
-    KA_TRACE(30, ("__kmp_give_task: succesfully gave task %p to thread %d.\n", taskdata, tid ) );
+    KA_TRACE(30, ("__kmp_give_task: successfully gave task %p to thread %d.\n", taskdata, tid ) );
 
 release_and_exit:
     __kmp_release_bootstrap_lock( & thread_data-> td.td_deque_lock );
@@ -2811,7 +2811,7 @@ void __kmpc_proxy_task_completed_ooo ( k
     kmp_int32 k = 0;
 
     do {
-        //This should be similiar to k = __kmp_get_random( thread ) % nthreads but we cannot use __kmp_get_random here
+        //This should be similar to k = __kmp_get_random( thread ) % nthreads but we cannot use __kmp_get_random here
         //For now we're just linearly trying to find a thread
         k = (k+1) % nthreads;
         thread = team->t.t_threads[k];

Modified: openmp/trunk/runtime/src/z_Windows_NT_util.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/z_Windows_NT_util.c?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/src/z_Windows_NT_util.c (original)
+++ openmp/trunk/runtime/src/z_Windows_NT_util.c Fri May 22 17:35:51 2015
@@ -874,7 +874,7 @@ __kmp_runtime_initialize( void )
             foreign tread.
 
             Setting __kmp_tls_gtid_min to 0 workarounds this problem: __kmp_get_global_thread_id()
-            does not search through stacks, but get gtid from TLS immediatelly.
+            does not search through stacks, but get gtid from TLS immediately.
 
             --ln
         */

Modified: openmp/trunk/runtime/tools/make-fat-binaries.pl
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/tools/make-fat-binaries.pl?rev=238060&r1=238059&r2=238060&view=diff
==============================================================================
--- openmp/trunk/runtime/tools/make-fat-binaries.pl (original)
+++ openmp/trunk/runtime/tools/make-fat-binaries.pl Fri May 22 17:35:51 2015
@@ -218,7 +218,7 @@ directory keeps files for one architectu
 another architecture (e. g. x86_64), etc. All input directories must contain the same set of files.
 The script issues an error if sets of files in input directories differ.
 
-If the script finishes successfuly, output directory will contain the set universal binaries
+If the script finishes successfully, output directory will contain the set universal binaries
 built from files with the same name in input directories.
 
 =head1 EXAMPLES





More information about the Openmp-commits mailing list