[Openmp-commits] [openmp] fda2977 - [OpenMP] Restore comment accidently deleted in D154650

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 24 14:01:24 PDT 2023


Author: Jonathan Peyton
Date: 2023-07-24T16:01:03-05:00
New Revision: fda297729d00a0a9caef3d43531acdd58c282059

URL: https://github.com/llvm/llvm-project/commit/fda297729d00a0a9caef3d43531acdd58c282059
DIFF: https://github.com/llvm/llvm-project/commit/fda297729d00a0a9caef3d43531acdd58c282059.diff

LOG: [OpenMP] Restore comment accidently deleted in D154650

Added: 
    

Modified: 
    openmp/runtime/src/kmp_runtime.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index 38d5470267b8e0..695bb5e7744c52 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -5407,6 +5407,7 @@ __kmp_allocate_team(kmp_root_t *root, int new_nproc, int max_nproc,
         }
 
 #if (KMP_OS_LINUX || KMP_OS_FREEBSD) && KMP_AFFINITY_SUPPORTED
+        /* Restore initial primary thread's affinity mask */
         new_temp_affinity.restore();
 #endif
 #if KMP_NESTED_HOT_TEAMS


        


More information about the Openmp-commits mailing list