MCPcopy Create free account
hub / github.com/RenderKit/embree / setNumThreads

Method setNumThreads

tutorials/verify/verify.h:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78 virtual size_t setNumPrimitives(size_t N) { return 0; }
79 virtual void setNumThreads(size_t N)
80 {
81 if (N == 0) numThreads = getNumberOfLogicalThreads();
82 else numThreads = N;
83 }
84 virtual bool setup(VerifyApplication* state) { return true; }
85 virtual float benchmark(VerifyApplication* state) = 0;
86 Statistics benchmark_loop(VerifyApplication* state);

Callers 1

VerifyApplicationMethod · 0.45

Calls 1

Tested by

no test coverage detected