Skip to content

Conversation

@smuzaffar
Copy link
Contributor

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2024

cms-bot internal usage

double s2 = 2.0 * t * t;

for (a = 0, b = 0; b < n; b += 2 * dual) {
for (b = 0; b < n; b += 2 * dual) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

looks like a is not used in this loop

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2024

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2024

A new Pull Request was created by @smuzaffar for master.

It involves the following packages:

  • Validation/Performance (core)

@Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please review it and eventually sign? Thanks.
@missirol this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

if (failed) {
i--;
for (; i <= 0; i--)
for (; i >= 0; i--)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

kind of infinite loop for i=-1 e.g. when https://github.com/cms-sw/cmssw/blob/master/Validation/Performance/bin/array.c#L17-L23 failed for first item i=0.

Copy link
Contributor Author

@smuzaffar smuzaffar Oct 3, 2024

Choose a reason for hiding this comment

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

and i think it was memory leak for i>0

@makortel
Copy link
Contributor

makortel commented Oct 3, 2024

How about we remove all these, as well as the test/cmsScimark*?

@smuzaffar
Copy link
Contributor Author

How about we remove all these, as well as the test/cmsScimark*?

sounds good to me

@smuzaffar
Copy link
Contributor Author

@makortel , you meant scripts/cmsScimark* ... right?

@makortel
Copy link
Contributor

makortel commented Oct 3, 2024

@makortel , you meant scripts/cmsScimark* ... right?

Ah, yes, scripts/cmsScimark* indeed.

@smuzaffar
Copy link
Contributor Author

done #46235 . If that looks good then I can close this PR

@smuzaffar
Copy link
Contributor Author

closing in favor of #46235

@smuzaffar smuzaffar closed this Oct 3, 2024
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.

3 participants