OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
NoMasterGraph.h
Go to the documentation of this file.
1 #ifndef __NO_MASTER_GRAPH__
2 #define __NO_MASTER_GRAPH__
3 
4 #include <set>
5 
7 template < class TopoDiscoveryStrategy_t >
8 class NoMasterGraph : public TopoDiscoveryStrategy_t {
9 
10 public:
11 
12  std::set<size_t> execute(size_t numMasters, size_t dimensions, size_t id,
13  int island_id) {
14  std::set<size_t> empty;
15  return empty;
16  }
17 };
18 
19 #endif
std::set< size_t > execute(size_t numMasters, size_t dimensions, size_t id, int island_id)
Definition: NoMasterGraph.h:12
A simple empty master graph (no neighbors, every island works isolated).
Definition: NoMasterGraph.h:8