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

Ver5.0 HIP Fixes #1219

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Ver5.0 HIP Fixes #1219

merged 2 commits into from
Dec 27, 2024

Conversation

suyashtn
Copy link

@suyashtn suyashtn commented Dec 9, 2024

Minor updates to:

  • CMake config to correctly identify the HIP path
  • src/acc/hip/ files update paths of HIP lib headers ('hipfft.h, hiprand.h, hipcub)
    These updates are required to ensure compatibility with newer ROCm > 5.7 and support on latest AMD Instinct GPUs.

@biochem-fan
Copy link
Member

Thank you very much for your contribution.

ensure compatibility with newer ROCm > 5.7 and support on latest AMD Instinct GPUs

After this change, is the code still compatible with older ROCm and older GPUs?

@suyashtn
Copy link
Author

Hi @biochem-fan , yes, the proposed changes extend the support for new ROCm on latest Instinct GPUs and keeps the functionality on previously supported GPUs intact.

@biochem-fan
Copy link
Member

keeps the functionality on previously supported GPUs intact

Let me clarify my question with a concrete example:

You changed the include path from hipfft.h to hipfft/hipfft.h.
Are users of older ROCm (<= 5.7) still able to compile the code? Or should we ask users to upgrade ROCm to > 5.7?

@suyashtn
Copy link
Author

Apologies for the delay @biochem-fan! The path change from hipfft.h to hipfft/hipfft.h is valid for ROCm >= 5.2. Between ROCm 5.2 and 5.7, the include/ in ROCm was configured to find these headers regardless, however in newer ROCm > 5.7, the headers are only found inside a particular path (more stringent). HIP support in RELION requires min. ROCm 5.3, hence this change should not affect users with ROCm < 5.7!

@biochem-fan biochem-fan merged commit d96c949 into 3dem:master Dec 27, 2024
0 of 4 checks passed
@biochem-fan
Copy link
Member

@suyashtn Thank you very much for clarification. I merged your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants