You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another issue introduced in #830 and being reviewed in #882.
This is a conceptual mistake (in the sense that it differs from the rest of the design of the code), and a (minor) performance penalty. It is also an unncessary increase of bloatware code.
I agree that a single access would probably slightly enhance the performance. I vaguely remember that I had done this but ran into a problem, but not 100 % sure anymore, pls give it a try as I understand that you want to make the code changes.
(In any case calculate_wavefunction was later changed even more, to go back essentially to what it is in upstream/master, all other changes being unnecessary).
Another issue introduced in #830 and being reviewed in #882.
This is a conceptual mistake (in the sense that it differs from the rest of the design of the code), and a (minor) performance penalty. It is also an unncessary increase of bloatware code.
CID_ACCESS::kernelAccessConst is now called once per diagram
https://github.com/valassi/madgraph4gpu/blob/8e312bc02d9d072615fcb1052b5db54754498517/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/CPPProcess.cc#L339
and https://github.com/valassi/madgraph4gpu/blob/8e312bc02d9d072615fcb1052b5db54754498517/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/CPPProcess.cc#L365
and so on
The channelid array is the same for all diagrams (which can be thousands!!!), so it can and should be retrieved only once. This is what is done for numerators and denominators
https://github.com/valassi/madgraph4gpu/blob/8e312bc02d9d072615fcb1052b5db54754498517/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/CPPProcess.cc#L320
Note in addition that the
if
checks on channelID should be changed to use nullptr, as described in #892The text was updated successfully, but these errors were encountered: