projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13c28e
)
[OpenMP] libomp: cleanup dead code
author
AndreyChurbanov
<andrey.churbanov@intel.com>
Thu, 5 May 2022 15:55:52 +0000
(10:55 -0500)
committer
Jonathan Peyton
<jonathan.l.peyton@intel.com>
Thu, 5 May 2022 15:56:49 +0000
(10:56 -0500)
Differential Revision: https://reviews.llvm.org/D123047
openmp/runtime/src/kmp.h
patch
|
blob
|
history
diff --git
a/openmp/runtime/src/kmp.h
b/openmp/runtime/src/kmp.h
index
fbc2eda
..
fe4d551
100644
(file)
--- a/
openmp/runtime/src/kmp.h
+++ b/
openmp/runtime/src/kmp.h
@@
-100,12
+100,6
@@
class kmp_stats_list;
#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