[PATCH] D112227: [libomptarget] Build DeviceRTL for amdgpu

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 21 08:56:35 PDT 2021


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/DeviceRTL/src/Configuration.cpp:23
 
-extern uint32_t __omp_rtl_debug_kind;
+// extern uint32_t __omp_rtl_debug_kind;
 
----------------
JonChesterfield wrote:
> Otherwise the missing symbols prevents linking, not clear why it works on nvptx64
linking what? Clang emits the symbol, maybe just not for amdgpu.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112227



More information about the cfe-commits mailing list