[clang] [AMDGPU] Do not emit arch dependent macros with unspecified cpu (PR #79660)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 29 10:15:06 PST 2024


yxsamliu wrote:

HIP host compilation can be identified by LangOpts.HIP && !LangOpts.CUDAIsDevice

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


More information about the cfe-commits mailing list