[OpenMP][NFC] Remove unused clock function types and globals (#127684)

This commit is contained in:
Jonathan Peyton
2025-02-19 13:31:40 -06:00
committed by GitHub
parent c3ebbfd736
commit b1f882f86a
2 changed files with 0 additions and 17 deletions

View File

@@ -521,13 +521,6 @@ enum library_type {
library_throughput
};
#if KMP_OS_LINUX
enum clock_function_type {
clock_function_gettimeofday,
clock_function_clock_gettime
};
#endif /* KMP_OS_LINUX */
#if KMP_MIC_SUPPORTED
enum mic_type { non_mic, mic1, mic2, mic3, dummy };
#endif
@@ -3545,11 +3538,6 @@ extern int __kmp_hot_teams_mode;
extern int __kmp_hot_teams_max_level;
#endif
#if KMP_OS_LINUX
extern enum clock_function_type __kmp_clock_function;
extern int __kmp_clock_function_param;
#endif /* KMP_OS_LINUX */
#if KMP_MIC_SUPPORTED
extern enum mic_type __kmp_mic_type;
#endif

View File

@@ -242,11 +242,6 @@ enum sched_type __kmp_sch_map[kmp_sched_upper - kmp_sched_lower_ext +
// of public intel extension schedules
};
#if KMP_OS_LINUX
enum clock_function_type __kmp_clock_function;
int __kmp_clock_function_param;
#endif /* KMP_OS_LINUX */
#if KMP_MIC_SUPPORTED
enum mic_type __kmp_mic_type = non_mic;
#endif