Skip to content

Commit f6818af

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

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

oshmem/include/pshmem.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014-2016 Mellanox Technologies, Inc.
2+
* Copyright (c) 2014-2017 Mellanox Technologies, Inc.
33
* All rights reserved.
44
* Copyright (c) 2014 Intel, Inc. All rights reserved
55
* Copyright (c) 2016 Research Organization for Information Science
@@ -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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013-2016 Mellanox Technologies, Inc.
2+
* Copyright (c) 2013-2017 Mellanox Technologies, Inc.
33
* All rights reserved.
44
* $COPYRIGHT$
55
*
@@ -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: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013 Mellanox Technologies, Inc.
2+
* Copyright (c) 2013-2017 Mellanox Technologies, Inc.
33
* All rights reserved.
44
* $COPYRIGHT$
55
*
@@ -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)