[Openmp-commits] [openmp] r272697 - Remove unused wait/release code.
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jun 14 12:15:40 PDT 2016
Author: jlpeyton
Date: Tue Jun 14 14:15:40 2016
New Revision: 272697
URL: http://llvm.org/viewvc/llvm-project?rev=272697&view=rev
Log:
Remove unused wait/release code.
Cleanup - unused code removal.
TODO: consider to remove (replace with flag class methods)
also kmp_wait_64 and kmp_release_64 routines.
Patch by Andrey Churbanov
Differential Revision: http://reviews.llvm.org/D21332
Modified:
openmp/trunk/runtime/src/dllexports
openmp/trunk/runtime/src/exports_so.txt
openmp/trunk/runtime/src/kmp.h
openmp/trunk/runtime/src/kmp_wait_release.cpp
Modified: openmp/trunk/runtime/src/dllexports
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/dllexports?rev=272697&r1=272696&r2=272697&view=diff
==============================================================================
--- openmp/trunk/runtime/src/dllexports (original)
+++ openmp/trunk/runtime/src/dllexports Tue Jun 14 14:15:40 2016
@@ -193,12 +193,8 @@
_You_must_link_with_Microsoft_OpenMP_library DATA
%endif
- __kmp_wait_32
__kmp_wait_64
- __kmp_wait_oncore
- __kmp_release_32
__kmp_release_64
- __kmp_release_oncore
# VT_getthid 1
Modified: openmp/trunk/runtime/src/exports_so.txt
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/exports_so.txt?rev=272697&r1=272696&r2=272697&view=diff
==============================================================================
--- openmp/trunk/runtime/src/exports_so.txt (original)
+++ openmp/trunk/runtime/src/exports_so.txt Tue Jun 14 14:15:40 2016
@@ -89,12 +89,8 @@ VERSION {
__kmp_launch_worker;
__kmp_reap_monitor;
__kmp_reap_worker;
- __kmp_release_32;
__kmp_release_64;
- __kmp_release_oncore;
- __kmp_wait_32;
__kmp_wait_64;
- __kmp_wait_oncore;
__kmp_wait_yield_4;
# ittnotify symbols to be used by debugger
Modified: openmp/trunk/runtime/src/kmp.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp.h?rev=272697&r1=272696&r2=272697&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp.h (original)
+++ openmp/trunk/runtime/src/kmp.h Tue Jun 14 14:15:40 2016
@@ -3102,24 +3102,12 @@ extern void __kmp_wait_yield_4_ptr( void
class kmp_flag_32;
class kmp_flag_64;
class kmp_flag_oncore;
-extern void __kmp_wait_32(kmp_info_t *this_thr, kmp_flag_32 *flag, int final_spin
-#if USE_ITT_BUILD
- , void * itt_sync_obj
-#endif
- );
-extern void __kmp_release_32(kmp_flag_32 *flag);
extern void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64 *flag, int final_spin
#if USE_ITT_BUILD
, void * itt_sync_obj
#endif
);
extern void __kmp_release_64(kmp_flag_64 *flag);
-extern void __kmp_wait_oncore(kmp_info_t *this_thr, kmp_flag_oncore *flag, int final_spin
-#if USE_ITT_BUILD
- , void * itt_sync_obj
-#endif
- );
-extern void __kmp_release_oncore(kmp_flag_oncore *flag);
extern void __kmp_infinite_loop( void );
Modified: openmp/trunk/runtime/src/kmp_wait_release.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_wait_release.cpp?rev=272697&r1=272696&r2=272697&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_wait_release.cpp (original)
+++ openmp/trunk/runtime/src/kmp_wait_release.cpp Tue Jun 14 14:15:40 2016
@@ -14,13 +14,6 @@
#include "kmp_wait_release.h"
-void __kmp_wait_32(kmp_info_t *this_thr, kmp_flag_32 *flag, int final_spin
- USE_ITT_BUILD_ARG(void * itt_sync_obj) )
-{
- __kmp_wait_template(this_thr, flag, final_spin
- USE_ITT_BUILD_ARG(itt_sync_obj) );
-}
-
void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64 *flag, int final_spin
USE_ITT_BUILD_ARG(void * itt_sync_obj) )
{
@@ -28,23 +21,6 @@ void __kmp_wait_64(kmp_info_t *this_thr,
USE_ITT_BUILD_ARG(itt_sync_obj) );
}
-void __kmp_wait_oncore(kmp_info_t *this_thr, kmp_flag_oncore *flag, int final_spin
- USE_ITT_BUILD_ARG(void * itt_sync_obj) )
-{
- __kmp_wait_template(this_thr, flag, final_spin
- USE_ITT_BUILD_ARG(itt_sync_obj) );
-}
-
-
-
-void __kmp_release_32(kmp_flag_32 *flag) {
- __kmp_release_template(flag);
-}
-
void __kmp_release_64(kmp_flag_64 *flag) {
__kmp_release_template(flag);
}
-
-void __kmp_release_oncore(kmp_flag_oncore *flag) {
- __kmp_release_template(flag);
-}
More information about the Openmp-commits
mailing list