Skip to content

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

Open
@jsji

Description

@jsji

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghipIssues related to execution on HIP backend.pdtrackerPulldown tracker for issues/reverts that needs follow up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions