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

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 10:03:54 PST 2024


================
@@ -175,6 +175,8 @@ Predefined Macros
      - Defined when the GPU default stream is set to per-thread mode.
    * - ``HIP_API_PER_THREAD_DEFAULT_STREAM``
      - Alias to ``__HIP_API_PER_THREAD_DEFAULT_STREAM__``. Deprecated.
+   * - ``__AMDGCN_WAVEFRONT_SIZE__``
----------------
arsenm wrote:

do these really need to be defined for the host?

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


More information about the cfe-commits mailing list