[Openmp-commits] [PATCH] D31012: Fix incorrect initial value of __kmp_affinity_type.

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 20 15:16:22 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL298313: Fix incorrect initial value of __kmp_affinity_type. (authored by jlpeyton).

Changed prior to commit:
  https://reviews.llvm.org/D31012?vs=91952&id=92386#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31012

Files:
  openmp/trunk/runtime/src/kmp_affinity.cpp


Index: openmp/trunk/runtime/src/kmp_affinity.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_affinity.cpp
+++ openmp/trunk/runtime/src/kmp_affinity.cpp
@@ -4197,6 +4197,7 @@
         __kmp_affin_fullMask = NULL;
     }
     __kmp_affinity_num_masks = 0;
+    __kmp_affinity_type = affinity_default;
 # if OMP_40_ENABLED
     __kmp_affinity_num_places = 0;
 # endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31012.92386.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170320/934f7101/attachment.bin>


More information about the Openmp-commits mailing list