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

Function cpu_getOpenmpThreadInd

quest/src/cpu/cpu_config.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112
113
114int cpu_getOpenmpThreadInd() {
115#if COMPILE_OPENMP
116 return omp_get_thread_num();
117#else
118 return 0;
119#endif
120}
121
122
123int cpu_getCurrentNumThreads() {

Calls

no outgoing calls

Tested by

no test coverage detected