1 /* begin_generated_IBM_copyright_prolog                             */
2 /*                                                                  */
3 /* This is an automatically generated copyright prolog.             */
4 /* After initializing,  DO NOT MODIFY OR MOVE                       */
5 /*  --------------------------------------------------------------- */
6 /* Licensed Materials - Property of IBM                             */
7 /* Blue Gene/Q 5765-PER 5765-PRP                                    */
8 /*                                                                  */
9 /* (C) Copyright IBM Corp. 2011, 2012 All Rights Reserved           */
10 /* US Government Users Restricted Rights -                          */
11 /* Use, duplication, or disclosure restricted                       */
12 /* by GSA ADP Schedule Contract with IBM Corp.                      */
13 /*                                                                  */
14 /*  --------------------------------------------------------------- */
15 /*                                                                  */
16 /* end_generated_IBM_copyright_prolog                               */
17 /*  (C)Copyright IBM Corp.  2007, 2011  */
18 /**
19  * \file include/mpidi_constants.h
20  * \brief ???
21  */
22 /*
23  *  (C) 2001 by Argonne National Laboratory.
24  *      See COPYRIGHT in top-level directory.
25  */
26 
27 
28 #ifndef __include_mpidi_constants_h__
29 #define __include_mpidi_constants_h__
30 
31 enum
32   {
33     /* N is "number of operations" and P is number of ranks */
34     MPIDI_VERBOSE_NONE        = 0, /**< Do not print any verbose information */
35     MPIDI_VERBOSE_SUMMARY_0   = 1, /**< Print summary information on rank 0.     O(1) lines printed. */
36     MPIDI_VERBOSE_SUMMARY_ALL = 2, /**< Print summary information on all ranks.  O(P) lines printed. */
37     MPIDI_VERBOSE_DETAILS_0   = 2, /**< Print detailed information on rank 0.    O(N) lines printed. */
38     MPIDI_VERBOSE_DETAILS_ALL = 3, /**< Print detailed information on all ranks. O(P*N) lines printed. */
39   };
40 
41 
42 /**
43  * \defgroup Allgather(v) optimization datatype info
44  * \{
45  */
46 enum
47   {
48     MPID_SEND_CONTIG     = 0, /**< Contiguous send buffer */
49     MPID_RECV_CONTIG     = 1, /**< Contiguous recv buffer */
50     MPID_RECV_CONTINUOUS = 2, /**< Continuous recv buffer */
51     MPID_LARGECOUNT      = 3, /**< Total send count is "large" */
52     MPID_MEDIUMCOUNT     = 4, /**< Total send count is "medium" */
53     MPID_ALIGNEDBUFFER   = 5, /**< Buffers are 16b aligned */
54   };
55 
56 enum
57   {
58     MPID_ALLGATHER_PREALLREDUCE  = 0,
59     MPID_ALLGATHERV_PREALLREDUCE = 1,
60     MPID_ALLREDUCE_PREALLREDUCE  = 2,
61     MPID_BCAST_PREALLREDUCE      = 3,
62     MPID_SCATTERV_PREALLREDUCE   = 4,
63     MPID_GATHER_PREALLREDUCE     = 5,
64     MPID_NUM_PREALLREDUCES       = 6,
65   };
66 
67 enum /* The type of protocol selected */
68   {
69     MPID_COLL_NOQUERY           = 0,
70     MPID_COLL_QUERY             = 1,
71     /* Can we cache stuff? If not set to ALWAYS_QUERY */
72     MPID_COLL_ALWAYS_QUERY      = 2,
73     MPID_COLL_CHECK_FN_REQUIRED = 3,
74     MPID_COLL_USE_MPICH         = 4,
75     MPID_COLL_NOSELECTION       = 5,
76     MPID_COLL_OPTIMIZED         = 6,
77   };
78 
79 enum
80  {
81    MPID_COLL_OFF = 0,
82    MPID_COLL_ON  = 1,
83    MPID_COLL_FCA = 2, /* Selecting these is fairly easy so special case */
84  };
85 /** \} */
86 
87 #endif
88