44 * Copyright (c) 2014 Intel, Inc. All rights reserved
55 * Copyright (c) 2016 Research Organization for Information Science
66 * and Technology (RIST). All rights reserved.
7+ * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved.
78 * $COPYRIGHT$
89 *
910 * Additional copyrights may follow
@@ -82,6 +83,13 @@ extern "C" {
8283#define SHMEM_VENDOR_STRING "http://www.open-mpi.org/"
8384#define SHMEM_MAX_NAME_LEN 256
8485
86+ /*
87+ * Deprecated (but still valid) names
88+ */
89+ #define _SHMEM_MAJOR_VERSION SHMEM_MAJOR_VERSION
90+ #define _SHMEM_MINOR_VERSION SHMEM_MINOR_VERSION
91+ #define _SHMEM_MAX_NAME_LEN SHMEM_MAX_NAME_LEN
92+
8593#ifndef OSHMEM_SPEC_VERSION
8694#define OSHMEM_SPEC_VERSION (SHMEM_MAJOR_VERSION * 10000 + SHMEM_MINOR_VERSION * 100)
8795#endif
@@ -95,6 +103,16 @@ enum shmem_wait_ops {
95103 SHMEM_CMP_GE
96104};
97105
106+ /*
107+ * Deprecated (but still valid) names
108+ */
109+ #define _SHMEM_CMP_EQ SHMEM_CMP_EQ
110+ #define _SHMEM_CMP_NE SHMEM_CMP_NE
111+ #define _SHMEM_CMP_GT SHMEM_CMP_GT
112+ #define _SHMEM_CMP_LE SHMEM_CMP_LE
113+ #define _SHMEM_CMP_LT SHMEM_CMP_LT
114+ #define _SHMEM_CMP_GE SHMEM_CMP_GE
115+
98116#define _SHMEM_BARRIER_SYNC_SIZE (1)
99117#define _SHMEM_BCAST_SYNC_SIZE (1 + _SHMEM_BARRIER_SYNC_SIZE)
100118#define _SHMEM_COLLECT_SYNC_SIZE (1 + _SHMEM_BCAST_SYNC_SIZE)
0 commit comments