Fix overestimation of k in multiple generations per batch#44
Fix overestimation of k in multiple generations per batch#44gridley wants to merge 1 commit intoexasmr:openmp-target-offloadfrom
Conversation
a90105b to
4ca7d31
Compare
|
Nice -- thanks for finding this and putting in the fix! Just do double check, as we are now doing |
|
Yes, On the other hand, the other variables indeed are zeroed out in It would be so nice to have all these global parameters grouped into a struct to better keep track of them. It seems that |
The total weight per batch was accidentally being reset after each generation; the correct behavior is to sum between generations rather than assign from the previous generation's total weight. Now it is reset to zero only after each batch.
The bug is easy to show. Turn up the generations per batch on any eigenvalue problem.