4141
4242/* by default the debuging is turned off */
4343int opal_datatype_dfd = -1 ;
44- bool opal_unpack_debug = false;
45- bool opal_pack_debug = false;
46- bool opal_position_debug = false;
47- bool opal_copy_debug = false;
44+ bool opal_ddt_unpack_debug = false;
45+ bool opal_ddt_pack_debug = false;
46+ bool opal_ddt_position_debug = false;
47+ bool opal_ddt_copy_debug = false;
48+ bool opal_ddt_raw_debug = false;
4849int opal_ddt_verbose = -1 ; /* Has the datatype verbose it's own output stream */
4950
5051extern int opal_cuda_verbose ;
@@ -161,35 +162,43 @@ int opal_datatype_register_params(void)
161162 int ret ;
162163
163164 ret = mca_base_var_register ("opal" , "mpi" , NULL , "ddt_unpack_debug" ,
164- "Whether to output debugging information in the ddt unpack functions (nonzero = enabled)" ,
165- MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
166- MCA_BASE_VAR_SCOPE_LOCAL , & opal_unpack_debug );
165+ "Whether to output debugging information in the ddt unpack functions (nonzero = enabled)" ,
166+ MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
167+ MCA_BASE_VAR_SCOPE_LOCAL , & opal_ddt_unpack_debug );
167168 if (0 > ret ) {
168- return ret ;
169+ return ret ;
169170 }
170171
171172 ret = mca_base_var_register ("opal" , "mpi" , NULL , "ddt_pack_debug" ,
172- "Whether to output debugging information in the ddt pack functions (nonzero = enabled)" ,
173- MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
174- MCA_BASE_VAR_SCOPE_LOCAL , & opal_pack_debug );
173+ "Whether to output debugging information in the ddt pack functions (nonzero = enabled)" ,
174+ MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
175+ MCA_BASE_VAR_SCOPE_LOCAL , & opal_ddt_pack_debug );
175176 if (0 > ret ) {
176- return ret ;
177+ return ret ;
178+ }
179+
180+ ret = mca_base_var_register ("opal" , "mpi" , NULL , "ddt_raw_debug" ,
181+ "Whether to output debugging information in the ddt raw functions (nonzero = enabled)" ,
182+ MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
183+ MCA_BASE_VAR_SCOPE_LOCAL , & opal_ddt_raw_debug );
184+ if (0 > ret ) {
185+ return ret ;
177186 }
178187
179188 ret = mca_base_var_register ("opal" , "mpi" , NULL , "ddt_position_debug" ,
180- "Non zero lead to output generated by the datatype position functions" ,
181- MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
182- MCA_BASE_VAR_SCOPE_LOCAL , & opal_position_debug );
189+ "Non zero lead to output generated by the datatype position functions" ,
190+ MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
191+ MCA_BASE_VAR_SCOPE_LOCAL , & opal_ddt_position_debug );
183192 if (0 > ret ) {
184- return ret ;
193+ return ret ;
185194 }
186195
187196 ret = mca_base_var_register ("opal" , "mpi" , NULL , "ddt_copy_debug" ,
188- "Whether to output debugging information in the ddt copy functions (nonzero = enabled)" ,
189- MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
190- MCA_BASE_VAR_SCOPE_LOCAL , & opal_copy_debug );
197+ "Whether to output debugging information in the ddt copy functions (nonzero = enabled)" ,
198+ MCA_BASE_VAR_TYPE_BOOL , NULL , 0 , MCA_BASE_VAR_FLAG_SETTABLE , OPAL_INFO_LVL_3 ,
199+ MCA_BASE_VAR_SCOPE_LOCAL , & opal_ddt_copy_debug );
191200 if (0 > ret ) {
192- return ret ;
201+ return ret ;
193202 }
194203
195204 ret = mca_base_var_register ("opal" , "opal" , NULL , "ddt_verbose" ,
@@ -208,7 +217,7 @@ int opal_datatype_register_params(void)
208217 OPAL_INFO_LVL_8 , MCA_BASE_VAR_SCOPE_LOCAL ,
209218 & opal_cuda_verbose );
210219 if (0 > ret ) {
211- return ret ;
220+ return ret ;
212221 }
213222#endif
214223
0 commit comments