[Openmp-commits] [openmp] r252084 - Remove some empty lines.
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Wed Nov 4 14:06:07 PST 2015
Author: jlpeyton
Date: Wed Nov 4 16:06:07 2015
New Revision: 252084
URL: http://llvm.org/viewvc/llvm-project?rev=252084&view=rev
Log:
Remove some empty lines.
Modified:
openmp/trunk/runtime/src/kmp.h
openmp/trunk/runtime/src/kmp_global.c
openmp/trunk/runtime/src/kmp_runtime.c
openmp/trunk/runtime/src/kmp_settings.c
openmp/trunk/runtime/src/z_Linux_util.c
Modified: openmp/trunk/runtime/src/kmp.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp.h?rev=252084&r1=252083&r2=252084&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp.h (original)
+++ openmp/trunk/runtime/src/kmp.h Wed Nov 4 16:06:07 2015
@@ -2418,7 +2418,6 @@ typedef struct kmp_base_global {
int g_dynamic;
enum dynamic_mode g_dynamic_mode;
-
} kmp_base_global_t;
typedef union KMP_ALIGN_CACHE kmp_global {
@@ -2593,7 +2592,6 @@ extern kmp_uint32 __kmp_yield_cycle;
extern kmp_int32 __kmp_yield_on_count;
extern kmp_int32 __kmp_yield_off_count;
-
/* ------------------------------------------------------------------------- */
extern int __kmp_allThreadsSpecified;
@@ -2774,7 +2772,6 @@ extern void __kmp_exit_single( int gtid
extern void __kmp_parallel_deo( int *gtid_ref, int *cid_ref, ident_t *loc_ref );
extern void __kmp_parallel_dxo( int *gtid_ref, int *cid_ref, ident_t *loc_ref );
-
#ifdef USE_LOAD_BALANCE
extern int __kmp_get_load_balance( int );
#endif
Modified: openmp/trunk/runtime/src/kmp_global.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_global.c?rev=252084&r1=252083&r2=252084&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_global.c (original)
+++ openmp/trunk/runtime/src/kmp_global.c Wed Nov 4 16:06:07 2015
@@ -317,7 +317,6 @@ int __kmp_storage_map_verbose_specif
int __kmp_need_register_atfork = TRUE; /* At initialization, call pthread_atfork to install fork handler */
int __kmp_need_register_atfork_specified = TRUE;
-
int __kmp_env_chunk = FALSE; /* KMP_CHUNK specified? */
int __kmp_env_stksize = FALSE; /* KMP_STACKSIZE specified? */
int __kmp_env_omp_stksize = FALSE; /* OMP_STACKSIZE specified? */
Modified: openmp/trunk/runtime/src/kmp_runtime.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_runtime.c?rev=252084&r1=252083&r2=252084&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_runtime.c (original)
+++ openmp/trunk/runtime/src/kmp_runtime.c Wed Nov 4 16:06:07 2015
@@ -79,7 +79,6 @@ void __kmp_fork_barrier( int gtid, int t
void __kmp_join_barrier( int gtid );
void __kmp_setup_icv_copy( kmp_team_t *team, int new_nproc, kmp_internal_control_t * new_icvs, ident_t *loc );
-
#ifdef USE_LOAD_BALANCE
static int __kmp_load_balance_nproc( kmp_root_t * root, int set_nproc );
#endif
@@ -1746,7 +1745,6 @@ __kmp_fork_call(
/* If we temporarily changed the set number of threads then restore it now */
master_th->th.th_set_nproc = 0;
-
/* create a serialized parallel region? */
if ( nthreads == 1 ) {
/* josh todo: hypothetical question: what do we do for OS X*? */
@@ -2649,7 +2647,6 @@ __kmp_set_num_threads( int new_nth, int
// Special flag in case omp_set_num_threads() call
hot_team->t.t_size_changed = -1;
}
-
}
/* Changes max_active_levels */
@@ -3224,7 +3221,6 @@ __kmp_initialize_root( kmp_root_t *root
hot_team->t.t_sched.r_sched_type = r_sched.r_sched_type;
hot_team->t.t_sched.chunk = r_sched.chunk;
hot_team->t.t_size_changed = 0;
-
}
#ifdef KMP_DEBUG
@@ -3828,7 +3824,6 @@ __kmp_register_root( int initial_thread
}
KMP_DEBUG_ASSERT( root->r.r_hot_team->t.t_bar[ bs_forkjoin_barrier ].b_arrived == KMP_INIT_BARRIER_STATE );
-
#if KMP_AFFINITY_SUPPORTED
if ( TCR_4(__kmp_init_middle) ) {
__kmp_affinity_set_init_mask( gtid, TRUE );
@@ -6469,7 +6464,6 @@ __kmp_do_serial_initialize( void )
// Moved here from __kmp_env_initialize() "KMP_ALL_THREADPRIVATE" part
__kmp_tp_capacity = __kmp_default_tp_capacity(__kmp_dflt_team_nth_ub, __kmp_max_nth, __kmp_allThreadsSpecified);
-
// If the library is shut down properly, both pools must be NULL. Just in case, set them
// to NULL -- some memory may leak, but subsequent code will work even if pools are not freed.
KMP_DEBUG_ASSERT( __kmp_thread_pool == NULL );
@@ -7189,7 +7183,6 @@ __kmp_load_balance_nproc( kmp_root_t *ro
#endif /* USE_LOAD_BALANCE */
-
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
@@ -7219,9 +7212,7 @@ __kmp_cleanup( void )
KA_TRACE( 10, ("__kmp_cleanup: go serial cleanup\n" ) );
if (__kmp_init_serial) {
-
__kmp_runtime_destroy();
-
__kmp_init_serial = FALSE;
}
Modified: openmp/trunk/runtime/src/kmp_settings.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_settings.c?rev=252084&r1=252083&r2=252084&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_settings.c (original)
+++ openmp/trunk/runtime/src/kmp_settings.c Wed Nov 4 16:06:07 2015
@@ -3374,8 +3374,6 @@ __kmp_stg_print_ld_balance_interval( kmp
#endif /* USE_LOAD_BALANCE */
-
-
// -------------------------------------------------------------------------------------------------
// KMP_INIT_AT_FORK
// -------------------------------------------------------------------------------------------------
@@ -4598,8 +4596,6 @@ static kmp_setting_t __kmp_stg_table[] =
{ "KMP_LOAD_BALANCE_INTERVAL", __kmp_stg_parse_ld_balance_interval,__kmp_stg_print_ld_balance_interval,NULL, 0, 0 },
#endif
-
-
{ "KMP_NUM_LOCKS_IN_BLOCK", __kmp_stg_parse_lock_block, __kmp_stg_print_lock_block, NULL, 0, 0 },
{ "KMP_LOCK_KIND", __kmp_stg_parse_lock_kind, __kmp_stg_print_lock_kind, NULL, 0, 0 },
#if KMP_USE_ADAPTIVE_LOCKS
@@ -5409,7 +5405,5 @@ __kmp_env_print_2() {
} // __kmp_env_print_2
#endif // OMP_40_ENABLED
-
-
// end of file
Modified: openmp/trunk/runtime/src/z_Linux_util.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/z_Linux_util.c?rev=252084&r1=252083&r2=252084&view=diff
==============================================================================
--- openmp/trunk/runtime/src/z_Linux_util.c (original)
+++ openmp/trunk/runtime/src/z_Linux_util.c Wed Nov 4 16:06:07 2015
@@ -2003,7 +2003,6 @@ __kmp_read_system_info( struct kmp_sys_i
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
-
void
__kmp_read_system_time( double *delta )
{
@@ -2155,7 +2154,6 @@ __kmp_runtime_initialize( void )
/* Set up minimum number of threads to switch to TLS gtid */
__kmp_tls_gtid_min = KMP_TLS_GTID_MIN;
-
#ifdef BUILD_TV
{
int rc = pthread_key_create( & __kmp_tv_key, 0 );
More information about the Openmp-commits
mailing list