[Openmp-commits] [openmp] eed0d85 - [OpenMP] libomp: cleanup dead code
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Thu May 5 08:57:47 PDT 2022
Author: AndreyChurbanov
Date: 2022-05-05T10:56:49-05:00
New Revision: eed0d8515295d83ba6bd608096df820ce329426e
URL: https://github.com/llvm/llvm-project/commit/eed0d8515295d83ba6bd608096df820ce329426e
DIFF: https://github.com/llvm/llvm-project/commit/eed0d8515295d83ba6bd608096df820ce329426e.diff
LOG: [OpenMP] libomp: cleanup dead code
Differential Revision: https://reviews.llvm.org/D123047
Added:
Modified:
openmp/runtime/src/kmp.h
Removed:
################################################################################
diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h
index fbc2eda04a8fb3..fe4d551db915a1 100644
--- 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
More information about the Openmp-commits
mailing list