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

updates for ROCm 6.0 support (#2086) #2088

Closed
wants to merge 1 commit into from
Closed

Conversation

q10
Copy link
Contributor

@q10 q10 commented Oct 24, 2023

Summary:
ROCm 6.0 introduces backwards-incompatible changes such as removing the long-deprecated use of __HIP_PLATFORM_HCC__. It is better to use the USE_ROCM macro which is already defined and indicates a ROCm build. This PR also defines __HIP_PLATFORM_AMD__ which is the new symbol name. This symbol is still required for compiling with HIP headers but when not using hip-clang.

Differential Revision: D50580075

Pulled By: q10

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 24, 2023

No ciflow labels are configured for this repo.
For information on how to enable CIFlow bot see this wiki

@netlify
Copy link

netlify bot commented Oct 24, 2023

Deploy Preview for pytorch-fbgemm-docs canceled.

Name Link
🔨 Latest commit 94e5034
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/65380414a2bcb70008faaca3

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50580075

q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 24, 2023
Summary:

ROCm 6.0 introduces backwards-incompatible changes such as removing the long-deprecated use of `__HIP_PLATFORM_HCC__`. It is better to use the USE_ROCM macro which is already defined and indicates a ROCm build. This PR also defines `__HIP_PLATFORM_AMD__` which is the new symbol name. This symbol is still required for compiling with HIP headers but when not using hip-clang.


Reviewed By: sryap

Differential Revision: D50580075

Pulled By: sryap
@q10 q10 force-pushed the export-D50580075 branch from d2ad872 to 53c7591 Compare October 24, 2023 17:49
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50580075

Summary:

ROCm 6.0 introduces backwards-incompatible changes such as removing the long-deprecated use of `__HIP_PLATFORM_HCC__`. It is better to use the USE_ROCM macro which is already defined and indicates a ROCm build. This PR also defines `__HIP_PLATFORM_AMD__` which is the new symbol name. This symbol is still required for compiling with HIP headers but when not using hip-clang.


Reviewed By: sryap

Differential Revision: D50580075

Pulled By: sryap
@q10 q10 force-pushed the export-D50580075 branch from 53c7591 to 94e5034 Compare October 24, 2023 17:51
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50580075

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50580075

@facebook-github-bot
Copy link
Contributor

@q10 merged this pull request in 93f5859.

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.

3 participants