MCPcopy Create free account
hub / github.com/RenderKit/oidn / getNumThreads

Method getNumThreads

core/thread.h:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 ThreadAffinity(int maxNumThreadsPerCore = INT_MAX, int verbose = 0);
110
111 int getNumThreads() const
112 {
113 return (int)affinities.size();
114 }
115
116 // Sets the affinity (0..numThreads-1) of the thread after saving the current affinity
117 void set(int threadIndex);

Callers 2

deviceFunction · 0.80
cpu_conv.cppFile · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected