14 #define OMPI_AFFINITY_STRING_MAX 1024
16 typedef enum ompi_affinity_fmt {
17 OMPI_AFFINITY_RSRC_STRING_FMT,
18 OMPI_AFFINITY_LAYOUT_FMT
19 } ompi_affinity_fmt_t;
21 OMPI_DECLSPEC
int OMPI_Affinity_str(ompi_affinity_fmt_t fmt_type,
22 char ompi_bound[OMPI_AFFINITY_STRING_MAX],
23 char current_binding[OMPI_AFFINITY_STRING_MAX],
24 char exists[OMPI_AFFINITY_STRING_MAX]);