Macros __AMDGCN_WAVEFRONT_SIZE and __AMDGCN_WAVEFRONT_SIZE__ has been marked as deprecated in llvm/llvm-project#112849.
Deprecation warning in ROCm 6.3.2 release notes:
The AMDGCN_WAVEFRONT_SIZE macro will be deprecated in an upcoming release. It is recommended to remove any use of this macro. For more information, see AMDGPU support.
This comment suggests an alternative ROCm/ROCm#4121 (comment)
Possibly of use - changes in OpenMP as the result of this deprecation llvm/llvm-project#113156
The relevant part of llama.cpp:
https://github.com/ggerganov/llama.cpp/blob/d80be897acdca45f8f7ea2e52c930b1d0e738a14/ggml/src/ggml-cuda/common.cuh#L179-L185