Skip to content

Commit 18bad48

Browse files
committed
oshmem: removes "shmem_broadcast" in accordance with the spec v1.3
Fixes: #4098 Signed-off-by: Boris Karasev <[email protected]>
1 parent 3d80794 commit 18bad48

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

oshmem/include/pshmem.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,6 @@ OSHMEM_DECLSPEC void pshmem_quiet(void);
464464
*/
465465
OSHMEM_DECLSPEC void pshmem_broadcast32(void *target, const void *source, size_t nlong, int PE_root, int PE_start, int logPE_stride, int PE_size, long *pSync);
466466
OSHMEM_DECLSPEC void pshmem_broadcast64(void *target, const void *source, size_t nlong, int PE_root, int PE_start, int logPE_stride, int PE_size, long *pSync);
467-
OSHMEM_DECLSPEC void pshmem_broadcast(void *target, const void *source, size_t nlong, int PE_root, int PE_start, int logPE_stride, int PE_size, long *pSync);
468467
OSHMEM_DECLSPEC void pshmem_collect32(void *target, const void *source, size_t nlong, int PE_start, int logPE_stride, int PE_size, long *pSync);
469468
OSHMEM_DECLSPEC void pshmem_collect64(void *target, const void *source, size_t nlong, int PE_start, int logPE_stride, int PE_size, long *pSync);
470469
OSHMEM_DECLSPEC void pshmem_fcollect32(void *target, const void *source, size_t nlong, int PE_start, int logPE_stride, int PE_size, long *pSync);

oshmem/shmem/c/profile/defines.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@
305305
*/
306306
#define shmem_broadcast32 pshmem_broadcast32
307307
#define shmem_broadcast64 pshmem_broadcast64
308-
#define shmem_broadcast pshmem_broadcast
309308
#define shmem_collect32 pshmem_collect32
310309
#define shmem_collect64 pshmem_collect64
311310
#define shmem_fcollect32 pshmem_fcollect32

oshmem/shmem/c/shmem_broadcast.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,10 @@ static void _shmem_broadcast(void *target,
108108

109109
#if OSHMEM_PROFILING
110110
#include "oshmem/include/pshmem.h"
111-
#pragma weak shmem_broadcast = pshmem_broadcast
112111
#pragma weak shmem_broadcast32 = pshmem_broadcast32
113112
#pragma weak shmem_broadcast64 = pshmem_broadcast64
114113
#include "oshmem/shmem/c/profile/defines.h"
115114
#endif
116115

117116
SHMEM_TYPE_BROADCAST(_broadcast32, sizeof(uint32_t))
118117
SHMEM_TYPE_BROADCAST(_broadcast64, sizeof(uint64_t))
119-
SHMEM_TYPE_BROADCAST(_broadcast, sizeof(uint64_t))

0 commit comments

Comments
 (0)