OSHMEM: fix clang warnings
fixed by Roman, reviewed by Miked cmr=v1.8.2:reviewer=ompi-rm1.8 This commit was SVN r31486.
Этот коммит содержится в:
родитель
2e191d2e21
Коммит
18f9a282d5
@ -48,6 +48,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_int_add = pshmem_int_add
|
||||
#pragma weak shmem_long_add = pshmem_long_add
|
||||
#pragma weak shmem_longlong_add = pshmem_longlong_add
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "oshmem/mca/memheap/memheap.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_addr_accessible = pshmem_addr_accessible
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -107,6 +107,7 @@ static void _shmem_broadcast(void *target,
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_broadcast = pshmem_broadcast
|
||||
#pragma weak shmem_broadcast32 = pshmem_broadcast32
|
||||
#pragma weak shmem_broadcast64 = pshmem_broadcast64
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "opal/sys/architecture.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_clear_cache_inv = pshmem_clear_cache_inv
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "opal/sys/architecture.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_clear_cache_line_inv = pshmem_clear_cache_line_inv
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "oshmem/shmem/shmem_lock.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_clear_lock = pshmem_clear_lock
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -102,6 +102,7 @@ static void _shmem_collect(void *target,
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_collect32 = pshmem_collect32
|
||||
#pragma weak shmem_collect64 = pshmem_collect64
|
||||
#pragma weak shmem_fcollect32 = pshmem_fcollect32
|
||||
|
@ -49,6 +49,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_int_cswap = pshmem_int_cswap
|
||||
#pragma weak shmem_long_cswap = pshmem_long_cswap
|
||||
#pragma weak shmem_longlong_cswap = pshmem_longlong_cswap
|
||||
|
@ -50,6 +50,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_int_fadd = pshmem_int_fadd
|
||||
#pragma weak shmem_long_fadd = pshmem_long_fadd
|
||||
#pragma weak shmem_longlong_fadd = pshmem_longlong_fadd
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "oshmem/mca/spml/spml.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_fence = pshmem_fence
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -51,6 +51,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_int_finc = pshmem_int_finc
|
||||
#pragma weak shmem_long_finc = pshmem_long_finc
|
||||
#pragma weak shmem_longlong_finc = pshmem_longlong_finc
|
||||
|
@ -44,6 +44,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_char_g = pshmem_char_g
|
||||
#pragma weak shmem_short_g = pshmem_short_g
|
||||
#pragma weak shmem_int_g = pshmem_int_g
|
||||
|
@ -44,6 +44,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_char_get = pshmem_char_get
|
||||
#pragma weak shmem_short_get = pshmem_short_get
|
||||
#pragma weak shmem_int_get = pshmem_int_get
|
||||
|
@ -49,6 +49,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_short_iget = pshmem_short_iget
|
||||
#pragma weak shmem_int_iget = pshmem_int_iget
|
||||
#pragma weak shmem_long_iget = pshmem_long_iget
|
||||
|
@ -50,6 +50,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_int_inc = pshmem_int_inc
|
||||
#pragma weak shmem_long_inc = pshmem_long_inc
|
||||
#pragma weak shmem_longlong_inc = pshmem_longlong_inc
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "oshmem/shmem/shmem_api_logger.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak start_pes = pstart_pes
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -49,6 +49,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_short_iput = pshmem_short_iput
|
||||
#pragma weak shmem_int_iput = pshmem_int_iput
|
||||
#pragma weak shmem_long_iput = pshmem_long_iput
|
||||
|
@ -45,6 +45,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_char_p = pshmem_char_p
|
||||
#pragma weak shmem_short_p = pshmem_short_p
|
||||
#pragma weak shmem_int_p = pshmem_int_p
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "oshmem/runtime/runtime.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_ptr = pshmem_ptr
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -47,6 +47,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_char_put = pshmem_char_put
|
||||
#pragma weak shmem_short_put = pshmem_short_put
|
||||
#pragma weak shmem_int_put = pshmem_int_put
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "oshmem/proc/proc.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak _num_pes = p_num_pes
|
||||
#pragma weak _my_pe = p_my_pe
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "oshmem/mca/spml/spml.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_quiet = pshmem_quiet
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -96,6 +96,7 @@ static bool __group_cache_enabled = true;
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_short_and_to_all = pshmem_short_and_to_all
|
||||
#pragma weak shmem_int_and_to_all = pshmem_int_and_to_all
|
||||
#pragma weak shmem_long_and_to_all = pshmem_long_and_to_all
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "opal/sys/architecture.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_set_cache_inv = pshmem_set_cache_inv
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "opal/sys/architecture.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_set_cache_line_inv = pshmem_set_cache_line_inv
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "oshmem/shmem/shmem_lock.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_set_lock = pshmem_set_lock
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -47,6 +47,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_swap = pshmem_swap
|
||||
#pragma weak shmem_int_swap = pshmem_int_swap
|
||||
#pragma weak shmem_long_swap = pshmem_long_swap
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "oshmem/shmem/shmem_lock.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_test_lock = pshmem_test_lock
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "opal/sys/architecture.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_udcflush = pshmem_udcflush
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "opal/sys/architecture.h"
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_udcflush_line = pshmem_udcflush_line
|
||||
#include "oshmem/shmem/c/profile/defines.h"
|
||||
#endif
|
||||
|
@ -39,6 +39,7 @@
|
||||
}
|
||||
|
||||
#if OSHMEM_PROFILING
|
||||
#include "oshmem/include/pshmem.h"
|
||||
#pragma weak shmem_wait = pshmem_wait
|
||||
#pragma weak shmem_short_wait = pshmem_short_wait
|
||||
#pragma weak shmem_int_wait = pshmem_int_wait
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user