cray_xc40_theta.hpp 1.13 KB
Newer Older
1 2
#ifndef CRAY_CX40_THETA_LUSTRE_H
#define CRAY_CX40_THETA_LUSTRE_H
Francois Tessier's avatar
Francois Tessier committed
3 4 5 6 7 8 9

#include <stdio.h>
#include <stdlib.h>
#include "topology.h"

class Topology: public iTopology {
public:
10 11 12 13
  /**********************/
  /*  |-- Nodes         */
  /**********************/
  int IONodeId () {
Francois Tessier's avatar
Francois Tessier committed
14 15 16
    return 0;
  }

17 18

  int BridgeNodeId () {
Francois Tessier's avatar
Francois Tessier committed
19 20 21
    return 0;
  }

22 23

  int ComputeNodeId () {
Francois Tessier's avatar
Francois Tessier committed
24 25
    return 0;
  }
26 27 28 29 30 31 32 33 34 35 36


  int ProcessPerNode () {
    return 0;
  }
  

  /**********************/
  /*  |-- Network       */
  /**********************/
  int NetworkDimensions () {
Francois Tessier's avatar
Francois Tessier committed
37 38 39
    return 0;
  }

40 41 42 43 44 45 46 47 48 49 50 51 52

  /*  |---- Coordinates */
  void RankToCoordinates ( int rank, int* coord ) {
    
  }
  
  
  void IONodeCoordinates ( int* coord ) {

  }

  
  /*  |---- Distance    */
Francois Tessier's avatar
Francois Tessier committed
53 54 55
  int DistanceToIONode () {
    return 0;
  }
56

Francois Tessier's avatar
Francois Tessier committed
57
  
58
  int DistanceBetweenRanks ( int srcRank, int destRank ) {
Francois Tessier's avatar
Francois Tessier committed
59 60 61
    return 0;
  }

62 63 64

  /*  |---- Routes      */
  int RouteToIONode ( int srcRank, int* path ) {
Francois Tessier's avatar
Francois Tessier committed
65 66
    return 0;
  }
67 68 69 70 71 72 73 74 75 76 77


  int RouteBetweenRanks ( int srcRank, int destRank, int* path ) {
    return 0;
  }


  /*  |---- Links       */
  void LinksList ( int* linksList ) {

  }
Francois Tessier's avatar
Francois Tessier committed
78 79
};

80
#endif // CRAY_CX40_THETA_LUSTRE_H