[Openmp-commits] [PATCH] D114264: [Libomptarget] Remove undefined symbol in old runtime

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Nov 19 10:25:51 PST 2021

jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tianshilei1992.
jhuber6 requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

A function with no definition was left in the old runtime, causing
linker errors when trying to compile.

  rG LLVM Github Monorepo



Index: openmp/libomptarget/deviceRTLs/target_interface.h
--- openmp/libomptarget/deviceRTLs/target_interface.h
+++ openmp/libomptarget/deviceRTLs/target_interface.h
@@ -25,7 +25,6 @@
 EXTERN NOINLINE int __kmpc_get_hardware_num_threads_in_block();
 EXTERN unsigned __kmpc_get_warp_size();
 EXTERN unsigned GetWarpId();
-EXTERN unsigned GetWarpSize();
 EXTERN unsigned GetLaneId();
 // Atomics

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114264.388554.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211119/a16d42b2/attachment.bin>

More information about the Openmp-commits mailing list