-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Introduce vFloat and float types in ParameterSets #45216
base: master
Are you sure you want to change the base?
Conversation
cms-bot internal usage |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45216/40573
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
2ce5551
to
4e3d218
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45216/40574
|
A new Pull Request was created by @felicepantaleo for master. It involves the following packages:
@cmsbuild, @makortel, @Dr15Jones, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
test parameters:
|
@cmsbuild please test |
-1 Failed Tests: RelVals RelValsValueError: Undefined workflows: 25288.203, 25488.203 |
test parameters: |
@cmsbuild please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45216/41805
|
Pull request #45216 was updated. @Dr15Jones, @cmsbuild, @jfernan2, @makortel, @mandrenguyen, @smuzaffar can you please check and sign again. |
@cmsbuild please test |
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
|
+1 |
There are simpler ways to achieve an easier conversion from (based on a cursory internal discussion we are leaning towards a separate configuration data type to be a better way, e.g. for consistency with the integer types and requiring consistency between |
ciao Matti, thanks for looking into this. |
@makortel let me know if you have more comments |
@felicepantaleo I'll have some comments, but have been distracted by other stuff (and will be for some days). |
Milestone for this pull request has been moved to CMSSW_15_0_X. Please open a backport if it should also go in to CMSSW_14_2_X. |
Description
This pull request introduces
vFloat
andfloat
types in theParameterSets
of the CMSSW framework. The changes aim to improve the precision and performance of floating-point parameter handling in configuration sets.Changes
vFloat
andfloat
type definitions.This will allow the developers of C++ modules to directly use
std::vector<float>
configuration parameters avoiding manually converting each of them fromstd::vector<double>
, if double precision is not needed.Testing
vFloat
andfloat
types.24900.0
.Future Work
If the tests run smoothly, an existing reconstruction module will be migrated from
double
tofloat
within this pull request.@smuzaffar @makortel @Dr15Jones @fwyzard @rovere @VinInn FYI