Questions tagged [multithreading]
15 questions
3
votes
1 answer
Avoiding CPU race condition/cache invalidation of RNG on multi thread path tracing
I'm implementing my path tracer using C++ and OpenMP partially based on the design of Small Paint (using a globally available RND function to generate random floats) and PBRTv2 (uses a single RNG across all threads). I notice that due to the fact…

Mary Chang
- 651
- 4
- 14