-
Notifications
You must be signed in to change notification settings - Fork 33
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
clang-format (and related code changes) #388
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…s-is into .clang-format.AV Last present in https://github.com/madgraph5/madgraph4gpu/blob/e0f033e6ead254faedf8985955600a0d81bd0880/.clang-format Was deleted in madgraph5@9f0827f
(/cvmfs/sft.cern.ch/lcg/releases/clang/13.0.0-7985e/x86_64-centos7/bin/clang-format -style=xxx -dump-config > .clang-format.xxx)
…sft.cern.ch/lcg/releases/clang/13.0.0-7985e/x86_64-centos7/share/clang/clang-format.el
I was unable to do better for __host__ and __device__: see llvm/llvm-project/issues/45968
…with AlwaysBreakAfterReturnType...)
…nder clang format...
…elAmps.h and read_slha.cc stay stable! (however HelAmps.h would have looked differently with this .clang-format starting from upstream/master...)
…hen move to TopLevelDefinitions
…lso many other options irrelevant here...)
Note that 'std::cout << "parameter " << "=" <<' gets split onto two lines... I would need to change this as 'std::cout << "parameter =" <<' This is a bug, see llvm/llvm-project/issues/44363
Revert "[clf] format Parameters_sm.cc" This reverts commit 77ba20b.
…t off" comments (it is difficult to clang-format macros...)
… half - recover good perf, but clang format is no longer stable!
What produces "V3[3]-cI" is now codegen, not clang-format! Must fix codegen
…d perf in eemumu (NB remember that V3_3 in th eprintout is V3[4], it is not V3[3]!)
I have now done
In progress
TODO
|
About other processes, a few issues to fix:
|
< jamp_sv[0] += +1./6. * amp_sv[0]; < jamp_sv[1] -= 1./2. * amp_sv[0]; --- > jamp_sv[0] += 1. / 6. * amp_sv[0]; > jamp_sv[1] -= 1. / 2. * amp_sv[0];
./tput/teeThroughputX.sh -inl -flt -makej -makeclean -eemumu -ggtt -ggttgg STARTED AT Wed Mar 2 20:22:04 CET 2022 ENDED AT Wed Mar 2 20:48:20 CET 2022
./tput/teeThroughputX.sh -flt -hrdonly -makej -makeclean -eemumu -ggtt -ggttg -ggttgg^C STARTED AT Wed Mar 2 21:22:39 CET 2022 ENDED AT Wed Mar 2 21:38:57 CET 2022
./tput/teeThroughputX.sh -flt -makej -makeclean -ggttg^C
./tput/teeThroughputX.sh -eemumu -ggtt -ggttgg -rmbhst
./tput/teeThroughputX.sh -eemumu -ggtt -ggttgg -bridge
./tput/teeThroughputX.sh -eemumu -curhst ./tput/teeThroughputX.sh -eemumu -common
Done:
This is now ready. I will self merge this. |
./tput/teeThroughputX.sh -flt -hrd -makej -makeclean -ggttggg STARTED AT Wed Mar 2 22:27:19 CET 2022 ENDED AT Thu Mar 3 00:44:23 CET 2022 Check all logs are updated: grep DATE tput/logs_*/*txt | sort -k2
…link to epochX/cudacpp/CODEGEN
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @roiser, this is my first draft proposal for clang-format (see #49).
Done:
To do:
Have a look if you have comments! Thanks Andrea