Dividing the workload by number of tasks in float is imprecise and
lead in some cases to particles not being calculated at all
(example: 20000 particles, 144 tasks).
Switching this calculation to integer makes sure we don't lose count.
Differential D10157
Particles: Fixed thread work size calculation. Authored by Stefan Werner (swerner) on Jan 20 2021, 11:23 AM.
Details Dividing the workload by number of tasks in float is imprecise and Switching this calculation to integer makes sure we don't lose count.
Diff Detail
Event TimelineComment Actions Unfortunately, I do not have permission to provide my test scene. I think this fix should also be included in 2.92 and 2.83LTS. Comment Actions @Lukas Tönne (lukastoenne) I'm adding you as a reviewer since git tells me you wrote the code I'm changing here.
| ||||||