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

[HIP] macro '__AMDGCN_WAVEFRONT_SIZE' has been marked as deprecated #16395

Open
jsji opened this issue Dec 17, 2024 · 0 comments
Open

[HIP] macro '__AMDGCN_WAVEFRONT_SIZE' has been marked as deprecated #16395

jsji opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working hip Issues related to execution on HIP backend. pdtracker Pulldown tracker for issues/reverts that needs follow up

Comments

@jsji
Copy link
Contributor

jsji commented Dec 17, 2024

Describe the bug

We add -Wno-error=deprecated-pragma to disable the warning below in pulldown PR #16372.

Please investigate and avoid using deprecated macros in test.

https://github.com/intel/llvm/actions/runs/12334950363/job/34425958267

# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/HostInteropTask/interop-task-hip.cpp:16:
# | /opt/rocm/include/hip/hip_runtime.h:40:70: error: macro '__AMDGCN_WAVEFRONT_SIZE' has been marked as deprecated: compile-time-constant access to the wavefront size will be removed in a future release [-Werror,-Wdeprecated-pragma]
# |    40 | #if __HIP_DEVICE_COMPILE__ && !__GFX7__ && !__GFX8__ && !__GFX9__ && __AMDGCN_WAVEFRONT_SIZE == 64
# |       |                                                                      ^
# | <built-in>:898:139: note: macro marked 'deprecated' here

@jsji jsji added bug Something isn't working hip Issues related to execution on HIP backend. pdtracker Pulldown tracker for issues/reverts that needs follow up labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hip Issues related to execution on HIP backend. pdtracker Pulldown tracker for issues/reverts that needs follow up
Projects
None yet
Development

No branches or pull requests

1 participant