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

Fix HOST_DEVICE_CONSTANT macro for AMD GPUs [14.2.x] #46953

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Dec 15, 2024

PR description:

Fix HOST_DEVICE_CONSTANT macro for AMD GPUs using HIP/ROCm as well as NVIDIA GPUs using CUDA.

Targets using SYCL can correctly fall back to the constexpr case.

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:

Backport #46952 to 14.2.x releases to fix AMD GPU back-ends.

@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

backport #46952

@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

type bugfix

@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

enable gpu

@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 15, 2024

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

It involves the following packages:

  • FWCore/Utilities (core)

@Dr15Jones, @makortel, @smuzaffar can you please review it and eventually sign? Thanks.
@felicepantaleo, @makortel, @missirol, @wddgit 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

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 15, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-df0cd4/43454/summary.html
COMMIT: 7cfb11e
CMSSW: CMSSW_14_2_X_2024-12-15-0000/el8_amd64_gcc12
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46953/43454/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

GPU Comparison Summary

Summary:

@makortel
Copy link
Contributor

+core

@cmsbuild
Copy link
Contributor

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

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit c3767ff into cms-sw:CMSSW_14_2_X Dec 18, 2024
26 checks passed
@fwyzard fwyzard deleted the fix_HOST_DEVICE_CONSTANT branch January 21, 2025 16:27
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.

4 participants