Open Glavin001 opened 9 years ago
It is looking like I will not be able to support this feature..
While using OpenMP is working, it appears that there is a bug in Octree. Fixme:
- [ ] There is a bug in Octree API. It should be functional, however instead it sets the variables
arg
andtermFunc
on the global object which is reused by each of the threads. This causes obvious problems and results in segfault 11 when parallelization is enabledFor now, I have added a critical section in Group class intersect method. This is obviously not desirable, as it now takes over 2 minutes to render all images and sometimes locks up.
For fixing Octree, maybe try http://stackoverflow.com/a/7142903/2578205
Assume non-adaptive sampling, ie. independent computations at each (independently selected) pixel.