Skip to content

Remove neppV and fptype_sv from API and decouple neppV from neppM (epochX) - #300

Merged
valassi merged 34 commits into
madgraph5:masterfrom
valassi:klas5X
Dec 2, 2021
Merged

valassi merged 34 commits into
madgraph5:masterfrom
valassi:klas5X

Conversation

@valassi

@valassi valassi commented Nov 30, 2021

Copy link
Copy Markdown
Member

This is a followup (in epochX) to PR #208 (in epoch1) about issue #176

Essentially it is about removing neppV and fptype_sv from the public APIs that we will offer users

The details of how I arrived to some pieces of code is in klas5 PR #208. In this new PR from klas5X, I have just immediately committed to epochX the results of old developpments in epoch1. I think that I will merge in any case also those epoch1 developments to keep the history.

Note also that this epochX status needs to be cleaned up. I am supporting many options (unlaigned data, neppM smaller than neppV etc) that we should not support in production code. We should just keep the fastest, which is aligned data, with neppM=neppV. I have already added some sanity checks, but I should cross check those, and keep only the strictly relevant ones (also because some sanity checks are expensive, eg on alignment of every buffer)

…as5X in epochX/eemumu

Ported everything as-is (in one single commit), including stuff that eventually needs to be cleaned up
(e.g. it will probably be better to only support some given choices of neppM and neppV and fail otherwise)

This essentially completes (except for backports) issue madgraph5#176 about removing neppV from the public API...

Performance (see next commit) is almost the same.
Probably 512y eemumu loses 1% because I have removed a few vectorizations on allMEs.
Maybe I can get back a tiny bit even there.
@valassi
valassi marked this pull request as draft November 30, 2021 17:47
Tiny performance drop probably because of removed vectorization in allMEs initialization?
…y tiny change, will revert

(note: this time, unlike the "=0" changes, I see small changes in the symbols used, but not sure they are good)
…s" - very tiny change, will revert"

This reverts commit a26e057.
…- few minor changes, mainly for inline

(but I do not care about inline as it is not really relevant for ggttgg...)
@valassi
valassi marked this pull request as ready for review December 2, 2021 11:38
@valassi valassi changed the title WIP: remove neppV from API and decouple from neppM (epochX) Remove neppV and fptype_sv from API and decouple neppV from neppM (epochX) Dec 2, 2021
@valassi

valassi commented Dec 2, 2021

Copy link
Copy Markdown
Member Author

I have just self merged PR #208 which included the preparatory work for this in epoch1 eemumu.

I am now self merging this PR #300 about epochX, including code generation.

@valassi
valassi merged commit 1854c7a into madgraph5:master Dec 2, 2021
@valassi

valassi commented Dec 2, 2021

Copy link
Copy Markdown
Member Author

I have now closed issue #176 as this PR has completed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant