| 214 | } |
| 215 | |
| 216 | void assert_pairRankIsDistinct(Qureg qureg, int pairRank) { |
| 217 | |
| 218 | if (pairRank == qureg.rank) |
| 219 | error_commWithSameRank(); |
| 220 | } |
| 221 | |
| 222 | void assert_bufferSendRecvDoesNotOverlap(qindex sendInd, qindex recvInd, qindex numAmps) { |
| 223 |
no test coverage detected