[PATCH] D145343: [AMDGPU] Emit predefined macro `__AMDGCN_CUMODE`

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 1 13:17:17 PDT 2023


arsenm added inline comments.


================
Comment at: clang/lib/Basic/Targets/AMDGPU.cpp:318
   Builder.defineMacro("__AMDGCN_WAVEFRONT_SIZE", Twine(WavefrontSize));
+  Builder.defineMacro("__AMDGCN_CUMODE", Twine(CUMode));
 }
----------------
Why do we sometimes use __ on both sides, and sometimes only leading __?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145343/new/

https://reviews.llvm.org/D145343



More information about the cfe-commits mailing list