intel / intel/llvm

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

Open
#16,395 1 comment 0 reactions 0 assignees View on GitHub
bug hip pdtracker
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

We add -Wno-error=deprecated-pragma to disable the warning below in pulldown PR https://github.com/intel/llvm/pull/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
# | | ^
# | :898:139: note: macro marked 'deprecated' here

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.