[OpenMP][NFC] Remove unused clock function types and globals (#127684)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user