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

Function cpu_getCurrentNumThreads

quest/src/cpu/cpu_config.cpp:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122
123int cpu_getCurrentNumThreads() {
124#if COMPILE_OPENMP
125 return omp_get_num_threads();
126#else
127 return 1;
128#endif
129}
130
131
132

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected