-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Improve the error message when trying to call a kernel from a .cc file #43163
Conversation
enable gpu |
please test |
@makortel can you think of any problems with this approach ? After discussing this with @ericcano we think it should be safe:
So, there should never be any conflicting definition for any instantiation of |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43163/37482
|
A new Pull Request was created by @fwyzard (Andrea Bocci) for master. It involves the following packages:
@fwyzard, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
On a first thought, one possible problem is that these classes add a depence on Alpaka internals (or at least I view the |
I'd say if that happens, we fix their counterparts here accordingly. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a046f2/35549/summary.html Comparison SummarySummary:
GPU Comparison SummarySummary:
|
+heterogeneous |
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, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
If somebody tries to launch an alpaka kernel from a .cc file the error message is hard to understand, e.g.:
These changes make a more understandable error message appear instead:
PR validation:
Unit tests pass (are not affected)