-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speedup Grid::convolute_eko
#103
Conversation
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
==========================================
+ Coverage 88.43% 88.49% +0.06%
==========================================
Files 31 31
Lines 3060 3085 +25
==========================================
+ Hits 2706 2730 +24
- Misses 354 355 +1
Continue to review full report at Codecov.
|
@cschwan I added an additional condition to the skipping to make it DIS compatible |
@felixhekhorn cheers, good catch! |
On |
@alecandido @felixhekhorn that was just 1), but the my hope is that 2) gives a much larger improvement (not yet implemented). |
I observed that the EKO for the default grid in Pineko is triangular in the source and target |
As explained in the docs we're taking the N_deg+1 (default: 4+1=5) nearest points - which on the border leads to additional offdiagonals |
Can we postpone 2. to a separate PR and close this one? |
Maybe convert 2. in an issue first, since no one has time to dedicate to it right now. |
Or we simply leave it open because now this PR basically is 2 😄. Why do you want to close it? |
Fine by me. |
this is getting stale (no activity the last half year) and the longer you wait the more difficult it will be to merge |
The runtime for
Grid::convolute_eko
for double-hadronic grids is, unfortunately, quite long, of the order of 10-15 minutes for a typical case. I'm convinced that we can improve the runtime, and I have at least two ideas how:(FK)_ij = sum_k O_il (G_lm)_k O_mj
, so that we could leverage fast linear algebra libraries.However, we need to test and benchmark this.