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

Update edm::bit_cast #45166

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Update edm::bit_cast #45166

merged 1 commit into from
Jun 12, 2024

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Jun 7, 2024

PR description:

Update edm::bit_cast to use std::bit_cast in C++20 mode, otherwise fall back to __builtin_bit_cast if available.

PR validation:

None.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

To be backported to 14.0.x for data taking, using the same branch.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2024

cms-bot internal usage

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 7, 2024

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2024

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45166/40512

  • This PR adds an extra 24KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 7, 2024

please test

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 7, 2024

@Dr15Jones does it look OK to you ?

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45166/40513

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2024

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

It involves the following packages:

  • FWCore/Utilities (core)

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

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2024

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9f9c33/39769/summary.html
COMMIT: 65cd151
CMSSW: CMSSW_14_1_X_2024-06-06-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45166/39769/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 1 errors in the following unit tests:

---> test RecoPPSLocalNewT2 had ERRORS

Comparison Summary

Summary:

@Dr15Jones
Copy link
Contributor

@smuzaffar is there a way to test is PR under clang as well?

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2024

Pull request #45166 was updated. @smuzaffar, @Dr15Jones, @cmsbuild, @makortel can you please check and sign again.

Use std::bit_cast in C++20 mode, or __builtin_bit_cast if available, otherwise
fall back to memcpy.
@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 9, 2024

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45166/40535

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2024

Pull request #45166 was updated. @Dr15Jones, @smuzaffar, @makortel can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9f9c33/39805/summary.html
COMMIT: c619df6
CMSSW: CMSSW_14_1_X_2024-06-09-0000/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45166/39805/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 2 lines from the logs
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3338974
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3338954
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@Dr15Jones
Copy link
Contributor

please test for CMSSW_14_1_CLANG_X

Just to be sure. Wants it passes I'll sign.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9f9c33/39829/summary.html
COMMIT: c619df6
CMSSW: CMSSW_14_1_CLANG_X_2024-06-10-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45166/39829/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 14209 lines to the logs
  • Reco comparison results: 30367 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3338974
  • DQMHistoTests: Total failures: 38027
  • DQMHistoTests: Total nulls: 153
  • DQMHistoTests: Total successes: 3300774
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.02 KiB( 47 files compared)
  • DQMHistoSizes: changed ( 140.043 ): -0.008 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 140.063 ): 0.004 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.042 ): 0.023 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.044 ): -0.027 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.046 ): -0.012 KiB JetMET/SUSYDQM
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: found differences in 4 / 46 workflows

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit ad8a90a into cms-sw:master Jun 12, 2024
26 of 27 checks passed
@fwyzard fwyzard deleted the update_edm_bit_cast branch June 13, 2024 18:57
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.

5 participants