@@ -268,8 +268,29 @@ int ucc_config_sprintf_uint_ranged(char *buf, size_t max, const void *src,
268
268
ucs_status_t ucc_config_clone_uint_ranged (const void * src , void * dest ,
269
269
const void * arg );
270
270
271
- void ucc_config_release_uint_ranged (void * ptr , const void * arg );
271
+ void ucc_config_release_uint_ranged (void * ptr , const void * arg );
272
272
273
+ #ifdef UCS_HAVE_PARSER_CONFIG_DOC
274
+ #define UCC_CONFIG_TYPE_UINT_RANGED \
275
+ { \
276
+ ucc_config_sscanf_uint_ranged, ucc_config_sprintf_uint_ranged, \
277
+ ucc_config_clone_uint_ranged, ucc_config_release_uint_ranged, \
278
+ ucs_config_help_generic, ucs_config_doc_nop, \
279
+ "[<munit>-<munit>:[mtype]:value," \
280
+ "<munit>-<munit>:[mtype]:value,...,]default_value\n" \
281
+ "# value and default_value can be \"auto\"" \
282
+ }
283
+
284
+ #define UCC_CONFIG_TYPE_PIPELINE_PARAMS \
285
+ { \
286
+ ucc_config_sscanf_pipeline_params, ucc_config_sprintf_pipeline_params, \
287
+ ucc_config_clone_pipeline_params, \
288
+ ucc_config_release_pipeline_params, ucs_config_help_generic, \
289
+ ucs_config_doc_nop, \
290
+ "thresh=<memunit>:fragsize=<memunit>:nfrags=" \
291
+ "<uint>:pdepth=<uint>:<ordered/parallel/sequential>" \
292
+ }
293
+ #else
273
294
#define UCC_CONFIG_TYPE_UINT_RANGED \
274
295
{ \
275
296
ucc_config_sscanf_uint_ranged, ucc_config_sprintf_uint_ranged, \
@@ -289,3 +310,4 @@ void ucc_config_release_uint_ranged(void *ptr, const void *arg);
289
310
}
290
311
291
312
#endif
313
+ #endif
0 commit comments