MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / getSubBufferSendInd

Function getSubBufferSendInd

quest/src/comm/comm_indices.hpp:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22static 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
30constexpr static inline qindex getBufferRecvInd() {

Calls

no outgoing calls

Tested by

no test coverage detected