-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove old cuda #283
Remove old cuda #283
Conversation
GenMul.pl - do not generate CUDA code unless explicitly requested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still some __CUDACC__
code in from-root/Math
. Otherwise it looks fine. I don't feel strongly about fixing the from-root files (which we really ought to get rid of anyway).
@dan131riley I saw this and decided to leave those places alone, on the assumption that if we are borrowing code more-or-less directly from ROOT, then it is probably best to leave things intact. However, if you believe these places are insertions made by Matthieu, then I'll gladly remove them. It wasn't easy for me to tell, given that In the end, if the |
@srlantz The |
Done. I don't think it's necessary to re-run the benchmarks for this little commit. But - while I'm thinking about it, I should mention that previously I had to run the benchmark/validation script a couple of times before I finally got clean data for this PR. The first run showed some wonky data points in the MEIF plots (I have seen this issue before). The second run had a bunch of segfaults mixed in, then the plots for SIMVAL_MTV were missing when it finished. The third time worked just fine. Maybe it helped to "make distclean" prior to the third run? - though that shouldn't be essential. In any case, I don't think the above issues with running the benchmarks have anything to do with my last 2 PRs. |
This is a follow-up to my previous comment, where I noted the the benchmark/validation script had two misfires before it ran correctly. Here are more details on what went wrong in each case.
|
This PR removes a large amount of deprecated GPU code, over 6000 lines. The bulk of it is in 44 files, mostly .cu and related header files, that are now deleted. (Of course they are not really deleted; they can be retrieved at any time from the repository by pointing to a prior commit.)
@osschar already looked through the diffs and even contributed the revised GenMul.pm, and he gives his approval.
Benchmark and validation plots are here: https://slantz.web.cern.ch/slantz/remove-old-cuda/
Merging this PR will resolve issue #281.