[Openmp-commits] [PATCH] D123047: [OpenMP] libomp: cleanup dead code

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu May 5 08:57:59 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGeed0d8515295: [OpenMP] libomp: cleanup dead code (authored by AndreyChurbanov, committed by jlpeyton).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123047/new/

https://reviews.llvm.org/D123047

Files:
  openmp/runtime/src/kmp.h


Index: openmp/runtime/src/kmp.h
===================================================================
--- openmp/runtime/src/kmp.h
+++ openmp/runtime/src/kmp.h
@@ -100,12 +100,6 @@
 #ifndef HWLOC_OBJ_PACKAGE
 #define HWLOC_OBJ_PACKAGE HWLOC_OBJ_SOCKET
 #endif
-#if HWLOC_API_VERSION >= 0x00020000
-// hwloc 2.0 changed type of depth of object from unsigned to int
-typedef int kmp_hwloc_depth_t;
-#else
-typedef unsigned int kmp_hwloc_depth_t;
-#endif
 #endif
 
 #if KMP_ARCH_X86 || KMP_ARCH_X86_64


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123047.427349.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220505/901dc778/attachment-0001.bin>


More information about the Openmp-commits mailing list