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 @@ -33,7 +33,7 @@ extern mca_coll_hcoll_dtype_t zero_dte_mapping;
33
33
total 15 types
34
34
*/
35
35
36
- static dte_data_representation_t * ompi_datatype_2_dte_data_rep [OMPI_DATATYPE_MAX_PREDEFINED ] = {
36
+ static dte_data_representation_t * ompi_datatype_2_dte_data_rep [OPAL_DATATYPE_MAX_PREDEFINED ] = {
37
37
& DTE_ZERO , /*OPAL_DATATYPE_LOOP 0 */
38
38
& DTE_ZERO , /*OPAL_DATATYPE_END_LOOP 1 */
39
39
#if defined(DTE_LB )
@@ -86,7 +86,17 @@ static dte_data_representation_t* ompi_datatype_2_dte_data_rep[OMPI_DATATYPE_MAX
86
86
#else
87
87
& DTE_ZERO ,
88
88
#endif
89
- & DTE_ZERO /*OPAL_DATATYPE_UNAVAILABLE 24 */
89
+ #if SIZEOF_LONG == 4
90
+ & DTE_UINT32 ,
91
+ #else
92
+ & DTE_UINT64 , /*OPAL_DATATYPE_LONG 24 */
93
+ #endif
94
+ #if SIZEOF_UNSIGNED_LONG == 4
95
+ & DTE_UINT32 ,
96
+ #else
97
+ & DTE_UINT64 , /*OPAL_DATATYPE_UNSIGNED_LONG 25 */
98
+ #endif
99
+ & DTE_ZERO /*OPAL_DATATYPE_UNAVAILABLE 26 */
90
100
};
91
101
92
102
enum {
You can’t perform that action at this time.
0 commit comments