[Openmp-commits] [openmp] fbfe8fc - [Libomptarget] Remove undefined symbol in old runtime

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Sat Nov 20 05:27:06 PST 2021


Author: Joseph Huber
Date: 2021-11-20T08:26:57-05:00
New Revision: fbfe8fcbc31d492d5538c09782b787bba89d01e5

URL: https://github.com/llvm/llvm-project/commit/fbfe8fcbc31d492d5538c09782b787bba89d01e5
DIFF: https://github.com/llvm/llvm-project/commit/fbfe8fcbc31d492d5538c09782b787bba89d01e5.diff

LOG: [Libomptarget] Remove undefined symbol in old runtime

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

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D114264

Added: 
    

Modified: 
    openmp/libomptarget/deviceRTLs/target_interface.h

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/deviceRTLs/target_interface.h b/openmp/libomptarget/deviceRTLs/target_interface.h
index 94c92ebd7f6ec..cf651974b71fa 100644
--- a/openmp/libomptarget/deviceRTLs/target_interface.h
+++ b/openmp/libomptarget/deviceRTLs/target_interface.h
@@ -25,7 +25,6 @@ EXTERN NOINLINE int __kmpc_get_hardware_num_blocks();
 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


        


More information about the Openmp-commits mailing list