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

Function comm_sync

quest/src/comm/comm_config.cpp:178–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177
178void comm_sync() {
179#if COMPILE_MPI
180
181 // gracefully handle when not distributed, needed by e.g. pre-MPI-setup validation
182 if (!comm_isInit())
183 return;
184
185 MPI_Barrier(MPI_COMM_WORLD);
186#endif
187}

Callers 4

oneQubitDampingOnPrefixFunction · 0.85
finalizeQuESTEnvFunction · 0.85
syncQuESTEnvFunction · 0.85

Calls 1

comm_isInitFunction · 0.85

Tested by

no test coverage detected