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 #46952

Merged
merged 1 commit into from
Dec 16, 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:

To be backported to 14.2.x releases to fix AMD GPU back-ends.

@fwyzard fwyzard marked this pull request as ready for review December 15, 2024 14:37
@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

enable gpu

@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

please test

@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

+heterogeneous

@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 15, 2024

type bugfix

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 15, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

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

+1

Size: This PR adds an extra 24KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a3e1ad/43455/summary.html
COMMIT: 7cfb11e
CMSSW: CMSSW_15_0_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/46952/43455/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

GPU Comparison Summary

Summary:

@makortel
Copy link
Contributor

Comparison differences are related to #39803 and #46416

@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 master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @rappoccio, @mandrenguyen, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 485ae1b into cms-sw:master Dec 16, 2024
26 checks passed
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