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

Function main

examples/isolated/reporting_quregs.cpp:151–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150
151int main() {
152
153 initQuESTEnv();
154 QuESTEnv env = getQuESTEnv();
155
156 demo_serial();
157
158 if (env.isMultithreaded)
159 demo_multithreaded();
160
161 if (env.isGpuAccelerated)
162 demo_gpuAccelerated();
163
164 if (env.isDistributed)
165 demo_distributed();
166
167 demo_auto();
168 demo_all(); // may throw
169
170 finalizeQuESTEnv();
171 return 0;
172}

Callers

nothing calls this directly

Calls 9

initQuESTEnvFunction · 0.85
getQuESTEnvFunction · 0.85
finalizeQuESTEnvFunction · 0.85
demo_serialFunction · 0.70
demo_multithreadedFunction · 0.70
demo_gpuAcceleratedFunction · 0.70
demo_distributedFunction · 0.70
demo_autoFunction · 0.70
demo_allFunction · 0.70

Tested by

no test coverage detected