-
Notifications
You must be signed in to change notification settings - Fork 133
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
Initial changes to compile on AMD #1346
Conversation
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 are many seemingly unrelated casts, as well as many places where code is commented rather than removed.
removed the obsolete commented code for now, which pertained to external library depencies such as hipsparse (for cusparse). Will have to see if unit tests complete for the distance constraint force in this case, and if not, we can add back any needed rocM dependencies later. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Can this be merged? Do you need me to address any more comments? |
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.
Thanks Jens! I like the nice clean CMake code.
The OPLS unit test is failing. I hope my suggested change fixes the test. Aside from that, are there any updates needed to the documentation on HIP support?
Co-authored-by: Joshua A. Anderson <joaander@umich.edu>
We might have to document/enforce the minimum CMake version for HIP language support (3.21). And, only the MD module has been tested. |
OK, let's do that. Does the ROCm minimum requirement also need updating?
That's fine. This PR is just making the initial changes. We will do more testing in future work. |
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Allow the user to choose between CUDA and HIP.
I added the CMake variable |
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.
Thanks!
This is ready to merge with the final tweaks I made to the CMake scripts and documentation.
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.
Just left a couple comments.
Co-authored-by: Brandon Butler <butlerbr@umich.edu>
Co-authored-by: Brandon Butler <butlerbr@umich.edu>
@b-butler Do you approve? |
Description
Make HOOMD compile on AMD architectures with HIP
Compiles, but not yet functional
Motivation and context
Resolves #1101
How has this been tested?
Change log
Checklist:
sphinx-doc/credits.rst
) in the pull request source branch.