diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-07-09 18:09:25 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-07-09 18:09:25 +0000 |
commit | 61d44f188ac3bb10505246ffb9185d2a0747db95 (patch) | |
tree | 08cfa0eb0ac64c18eb2011fa915ff5bd3cd746cf | |
parent | a1a8e66a11148790e4f87feb7e2fa1ed96725f04 (diff) | |
download | bcm5719-llvm-61d44f188ac3bb10505246ffb9185d2a0747db95.tar.gz bcm5719-llvm-61d44f188ac3bb10505246ffb9185d2a0747db95.zip |
[OpenMP] Fix a few formatting issues
llvm-svn: 336575
-rw-r--r-- | openmp/runtime/src/kmp_runtime.cpp | 3 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_taskdeps.cpp | 3 | ||||
-rw-r--r-- | openmp/runtime/src/kmp_threadprivate.cpp | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp index d876ba1c133..69eba21f3e9 100644 --- a/openmp/runtime/src/kmp_runtime.cpp +++ b/openmp/runtime/src/kmp_runtime.cpp @@ -3397,7 +3397,8 @@ void __kmp_print_structure(void) { root->r.r_uber_thread); __kmp_printf(" Active?: %2d\n", root->r.r_active); __kmp_printf(" Nested?: %2d\n", root->r.r_nested); - __kmp_printf(" In Parallel: %2d\n", KMP_ATOMIC_LD_RLX(&root->r.r_in_parallel)); + __kmp_printf(" In Parallel: %2d\n", + KMP_ATOMIC_LD_RLX(&root->r.r_in_parallel)); __kmp_printf("\n"); __kmp_print_structure_team_accum(list, root->r.r_root_team); __kmp_print_structure_team_accum(list, root->r.r_hot_team); diff --git a/openmp/runtime/src/kmp_taskdeps.cpp b/openmp/runtime/src/kmp_taskdeps.cpp index 702b919deef..4efd12bac8a 100644 --- a/openmp/runtime/src/kmp_taskdeps.cpp +++ b/openmp/runtime/src/kmp_taskdeps.cpp @@ -40,7 +40,8 @@ static void __kmp_init_node(kmp_depnode_t *node) { // task once dependences have been processed node->dn.successors = NULL; __kmp_init_lock(&node->dn.lock); - KMP_ATOMIC_ST_RLX(&node->dn.nrefs, 1); // init creates the first reference to the node + KMP_ATOMIC_ST_RLX(&node->dn.nrefs, + 1); // init creates the first reference to the node #ifdef KMP_SUPPORT_GRAPH_OUTPUT node->dn.id = KMP_ATOMIC_INC(&kmp_node_id_seed); #endif diff --git a/openmp/runtime/src/kmp_threadprivate.cpp b/openmp/runtime/src/kmp_threadprivate.cpp index e64097b5546..d1ca422092f 100644 --- a/openmp/runtime/src/kmp_threadprivate.cpp +++ b/openmp/runtime/src/kmp_threadprivate.cpp @@ -719,7 +719,7 @@ void __kmp_threadprivate_resize_cache(int newCapacity) { // compilers use new method.) (void)KMP_COMPARE_AND_STORE_PTR(tp_cache_addr->compiler_cache, old_cache, my_cache); - //TCW_PTR(*(tp_cache_addr->compiler_cache), my_cache); + // TCW_PTR(*(tp_cache_addr->compiler_cache), my_cache); // If the store doesn't happen here, the compiler's old behavior will // inevitably call __kmpc_threadprivate_cache with a new location for the |