-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
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
27f790c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same error is present in the stable-2020 branch. Should this commit be pushed to that branch, as well?
As long as I'm commenting, let me add that gcc-9 finds this error too... and it issues plenty of warnings besides. Maybe we should put together a somewhat larger commit that addresses those issues, along with this one? I believe our Makefile.config is set up to flag the same sorts of issues that would normally be flagged by CMS.
27f790c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the gcc flags in Makefile.config are mostly copied from the CMSSW flags, though they are likely somewhat out of date.
27f790c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did direct edit on stable-2020.
I think all the warnings come from magick in Ice/RevisitedRadix ... that does radix sort of floating point numbers and does some pretty weird stuff converting between integer and floating-point representation.
Now, Slava has already changed hit sorting to use integer radix sort ... and seeing that code, we could do the same for sorting of seeds (i.e., splitting an int into major / minor sort bitfield). Oh, and BTW, we really should also sort seeds like this before cleaning (and maybe final tracks before candidate removal).
Alternatively, we could tweak warnings for mkFit/Ice file.
Oh boy, apparently he made a review of the code in 2018, and cache usage improvements for sorting more than 1M entries :)
https://github.com/Pierre-Terdiman/RadixRedux
https://github.com/Pierre-Terdiman/RadixRedux/blob/master/RadixRedux.pdf