Send a control message to every other process. */
| 154 | |
| 155 | /** Send a control message to every other process. */ |
| 156 | void CommLayer::sendControlMessage(APControl m, int argument) |
| 157 | { |
| 158 | for (int i = 0; i < opt::numProc; i++) |
| 159 | if (i != opt::rank) // Don't send the message to myself. |
| 160 | sendControlMessageToNode(i, m, argument); |
| 161 | } |
| 162 | |
| 163 | /** Send a control message to a specific node. */ |
| 164 | uint64_t CommLayer::sendControlMessageToNode(int nodeID, |
no outgoing calls
no test coverage detected