File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright (c) 2012 Sandia National Laboratories. All rights reserved.
4
4
* Copyright (c) 2014-2017 Los Alamos National Security, LLC. All rights
5
5
* reserved.
6
+ * Copyright (c) 2018 Research Organization for Information Science
7
+ * and Technology (RIST). All rights reserved.
6
8
* $COPYRIGHT$
7
9
*
8
10
* Additional copyrights may follow
@@ -91,11 +93,18 @@ static inline ompi_osc_pt2pt_frag_t *ompi_osc_pt2pt_frag_alloc_non_buffered (omp
91
93
92
94
curr -> header -> base .type = OMPI_OSC_PT2PT_HDR_TYPE_FRAG ;
93
95
curr -> header -> base .flags = OMPI_OSC_PT2PT_HDR_FLAG_VALID ;
96
+ #if OPAL_ENABLE_DEBUG
97
+ curr -> header -> padding [0 ] = 0 ;
98
+ curr -> header -> padding [1 ] = 0 ;
99
+ #endif
94
100
if (module -> passive_target_access_epoch ) {
95
101
curr -> header -> base .flags |= OMPI_OSC_PT2PT_HDR_FLAG_PASSIVE_TARGET ;
96
102
}
97
103
curr -> header -> source = ompi_comm_rank (module -> comm );
98
104
curr -> header -> num_ops = 1 ;
105
+ #if OPAL_ENABLE_DEBUG
106
+ curr -> header -> pad = 0 ;
107
+ #endif
99
108
100
109
return curr ;
101
110
}
Original file line number Diff line number Diff line change 13
13
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
14
14
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
15
15
* Copyright (c) 2012-2013 Sandia National Laboratories. All rights reserved.
16
- * Copyright (c) 2015 Research Organization for Information Science
16
+ * Copyright (c) 2015-2018 Research Organization for Information Science
17
17
* and Technology (RIST). All rights reserved.
18
18
* $COPYRIGHT$
19
19
*
@@ -133,6 +133,9 @@ typedef struct ompi_osc_pt2pt_header_lock_t ompi_osc_pt2pt_header_lock_t;
133
133
134
134
struct ompi_osc_pt2pt_header_lock_ack_t {
135
135
ompi_osc_pt2pt_header_base_t base ;
136
+ #if OPAL_ENABLE_HETEROGENEOUS_SUPPORT
137
+ uint8_t padding [2 ];
138
+ #endif
136
139
uint32_t source ;
137
140
uint64_t lock_ptr ;
138
141
};
@@ -179,6 +182,9 @@ typedef struct ompi_osc_pt2pt_header_flush_ack_t ompi_osc_pt2pt_header_flush_ack
179
182
180
183
struct ompi_osc_pt2pt_frag_header_t {
181
184
ompi_osc_pt2pt_header_base_t base ;
185
+ #if OPAL_ENABLE_HETEROGENEOUS_SUPPORT || OPAL_ENABLE_DEBUG
186
+ uint8_t padding [2 ];
187
+ #endif
182
188
uint32_t source ; /* rank in window of source process */
183
189
opal_atomic_int32_t num_ops ; /* number of operations in this buffer */
184
190
uint32_t pad ; /* ensure the fragment header is a multiple of 8 bytes */
You can’t perform that action at this time.
0 commit comments