Skip to content
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

move Spline to single precision #7632

Merged
merged 1 commit into from Feb 11, 2015

Conversation

davidlange6
Copy link
Contributor

to save 50MB in reco (we should also understand why we have 50MB of splines)
Thanks to Danilo for noticing this.

[I didn't check the physics changes - please do before signing]

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 9, 2015

A new Pull Request was created by @davidlange6 (David Lange) for CMSSW_7_4_X.

move Spline to single precision

It involves the following packages:

PhysicsTools/MVAComputer

@cmsbuild, @vadler, @nclopezo, @monttj can you please review it and eventually sign? Thanks.
@ferencek, @acaudron, @pvmulder, @imarches this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

double tmp;
double d = 0.0;
float tmp;
float d = 0.0;
d += coeffs[1]; tmp = x;
d += coeffs[2] * tmp * 2.0; tmp *= x;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to change all literals to 2.0f, 3.0f etc...

@VinInn
Copy link
Contributor

VinInn commented Feb 9, 2015

still 50MB of floats is 12.5M values: to do what?

double tmp;
double y = 0.0;
float tmp;
float y = 0.0;
y += coeffs[0]; tmp = x;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Horner, the Unknown...

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 9, 2015

@cmsbuild
Copy link
Contributor

@davidlange6
Copy link
Contributor Author

@cmsbuild, please test
(the comparison for this PR seems broken)

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

davidlange6 added a commit that referenced this pull request Feb 11, 2015
@davidlange6 davidlange6 merged commit d951acd into cms-sw:CMSSW_7_4_X Feb 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants