00001
00002
00003
00004
00005
00006
00007 #ifndef _GENTOPO_H_
00008 #define _GENTOPO_H_
00009
00010 #define FALSE (0)
00011 #define TRUE (1)
00012
00013
00014
00015 typedef enum { TopoNone= 0,
00016 Mesh2D,
00017 Torus2D,
00018 Torus2Dx,
00019 Torus2Dy,
00020 Mesh3D,
00021 Torus3D,
00022 Torus3Dx,
00023 Torus3Dy,
00024 Torus3Dz,
00025 Torus3Dxy,
00026 Torus3Dxz,
00027 Torus3Dyz,
00028 Flat2Dbutter,
00029 Ring,
00030 Full,
00031 Tree,
00032 FatTree,
00033 Hypercube
00034 } topo_type_t;
00035
00036 char *topo_names[]= {
00037 "none",
00038 "2D Mesh",
00039 "2D Torus",
00040 "2D Mesh, with x dimension wrap around",
00041 "2D Mesh, with y dimension wrap around",
00042 "3D Mesh",
00043 "3D Torus",
00044 "3D Mesh, with x dimension wrap around",
00045 "3D Mesh, with y dimension wrap around",
00046 "3D Mesh, with z dimension wrap around",
00047 "3D Mesh, with x and y dimension wrap around",
00048 "3D Mesh, with x and z dimension wrap around",
00049 "3D Mesh, with y and z dimension wrap around",
00050 "Flattened, two-dimensional butterfly",
00051 "Ring",
00052 "Fully connected",
00053 "Binary tree",
00054 "Binary fat tree",
00055 "Hypercube"
00056 };
00057
00058 #endif