File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ extern mca_coll_hcoll_dtype_t zero_dte_mapping;
34
34
total 15 types
35
35
*/
36
36
37
- static dte_data_representation_t * ompi_datatype_2_dte_data_rep [OMPI_DATATYPE_MAX_PREDEFINED ] = {
37
+ static dte_data_representation_t * ompi_datatype_2_dte_data_rep [OPAL_DATATYPE_MAX_PREDEFINED ] = {
38
38
& DTE_ZERO , /*OPAL_DATATYPE_LOOP 0 */
39
39
& DTE_ZERO , /*OPAL_DATATYPE_END_LOOP 1 */
40
40
#if defined(DTE_LB )
@@ -92,7 +92,17 @@ static dte_data_representation_t* ompi_datatype_2_dte_data_rep[OMPI_DATATYPE_MAX
92
92
#else
93
93
& DTE_ZERO ,
94
94
#endif
95
- & DTE_ZERO /*OPAL_DATATYPE_UNAVAILABLE 25 */
95
+ #if SIZEOF_LONG == 4
96
+ & DTE_UINT32 ,
97
+ #else
98
+ & DTE_UINT64 , /*OPAL_DATATYPE_LONG 25 */
99
+ #endif
100
+ #if SIZEOF_UNSIGNED_LONG == 4
101
+ & DTE_UINT32 ,
102
+ #else
103
+ & DTE_UINT64 , /*OPAL_DATATYPE_UNSIGNED_LONG 26 */
104
+ #endif
105
+ & DTE_ZERO /*OPAL_DATATYPE_UNAVAILABLE 27 */
96
106
};
97
107
98
108
enum {
You can’t perform that action at this time.
0 commit comments