[clang] [Clang][HIP] Warn when __AMDGCN_WAVEFRONT_SIZE is used in host code without relying on target-dependent overload resolution (PR #109663)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 10:27:35 PDT 2024


Artem-B wrote:

I'm curious why are those macros even defined on the host?

It looks like these macros should be handled in a way similar to `__HIP_ARCH__`.


https://github.com/llvm/llvm-project/pull/109663


More information about the cfe-commits mailing list