| 20 | |
| 21 | |
| 22 | static inline qindex getSubBufferSendInd(Qureg qureg) { |
| 23 | |
| 24 | // the maximum size of a swapped sub-buffer is half its capacity, so we |
| 25 | // will always pack sub-buffers starting from half capacity |
| 26 | return qureg.numAmpsPerNode / 2; |
| 27 | } |
| 28 | |
| 29 | |
| 30 | constexpr static inline qindex getBufferRecvInd() { |
no outgoing calls
no test coverage detected