diff options
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r-- | openmp/runtime/src/kmp_alloc.c | 2 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_i18n.c | 2 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_i18n.h | 2 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_lock.cpp | 2 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_stats.h | 4 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_stub.c | 2 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_tasking.c | 4 | ||||
-rw-r--r-- | openmp/runtime/src/z_Windows_NT_util.c | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/openmp/runtime/src/kmp_alloc.c b/openmp/runtime/src/kmp_alloc.c index 4ead713853d..c9c57f3a1dd 100644 --- a/openmp/runtime/src/kmp_alloc.c +++ b/openmp/runtime/src/kmp_alloc.c @@ -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; diff --git a/openmp/runtime/src/kmp_i18n.c b/openmp/runtime/src/kmp_i18n.c index 2be2d550b41..aacd558cd5a 100644 --- a/openmp/runtime/src/kmp_i18n.c +++ b/openmp/runtime/src/kmp_i18n.c @@ -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" ); diff --git a/openmp/runtime/src/kmp_i18n.h b/openmp/runtime/src/kmp_i18n.h index ff00436ff29..82ec51b2441 100644 --- a/openmp/runtime/src/kmp_i18n.h +++ b/openmp/runtime/src/kmp_i18n.h @@ -78,7 +78,7 @@ char const * __kmp_i18n_catgets( kmp_i18n_id_t id ); 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. diff --git a/openmp/runtime/src/kmp_lock.cpp b/openmp/runtime/src/kmp_lock.cpp index d33ce690f24..28d7957d326 100644 --- a/openmp/runtime/src/kmp_lock.cpp +++ b/openmp/runtime/src/kmp_lock.cpp @@ -3881,7 +3881,7 @@ __kmp_lock_table_insert( kmp_user_lock_p lck ) 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. diff --git a/openmp/runtime/src/kmp_stats.h b/openmp/runtime/src/kmp_stats.h index f804cb5007b..9189b8015fd 100644 --- a/openmp/runtime/src/kmp_stats.h +++ b/openmp/runtime/src/kmp_stats.h @@ -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 -------------------------------------------------------------> Time 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. diff --git a/openmp/runtime/src/kmp_stub.c b/openmp/runtime/src/kmp_stub.c index cb5213decff..1e0953a0fcd 100644 --- a/openmp/runtime/src/kmp_stub.c +++ b/openmp/runtime/src/kmp_stub.c @@ -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 ); diff --git a/openmp/runtime/src/kmp_tasking.c b/openmp/runtime/src/kmp_tasking.c index 48a16a7cee8..028ffcbd5b3 100644 --- a/openmp/runtime/src/kmp_tasking.c +++ b/openmp/runtime/src/kmp_tasking.c @@ -2698,7 +2698,7 @@ static bool __kmp_give_task ( kmp_info_t *thread, kmp_int32 tid, kmp_task_t * ta 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 ( kmp_task_t *ptask ) 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]; diff --git a/openmp/runtime/src/z_Windows_NT_util.c b/openmp/runtime/src/z_Windows_NT_util.c index 41f5df0946f..01a0156bff1 100644 --- a/openmp/runtime/src/z_Windows_NT_util.c +++ b/openmp/runtime/src/z_Windows_NT_util.c @@ -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 */ |