[Openmp-commits] [openmp] f7e0208 - [OpenMP][libomptarget] Add missing field in GenericELF64bit grid values

Kevin Sala via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 2 08:19:13 PDT 2023


Author: Kevin Sala
Date: 2023-08-02T17:18:50+02:00
New Revision: f7e0208a09b0d9313e862fb1fbbe956c70bfbec5

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

LOG: [OpenMP][libomptarget] Add missing field in GenericELF64bit grid values

Added: 
    

Modified: 
    openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp b/openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
index 736611d2e8af5d..c47b3cae597e23 100644
--- a/openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
+++ b/openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
@@ -322,6 +322,7 @@ struct GenELF64DeviceTy : public GenericDeviceTy {
       1, // GV_Slot_Size
       1, // GV_Warp_Size
       1, // GV_Max_Teams
+      1, // GV_Default_Num_Teams
       1, // GV_SimpleBufferSize
       1, // GV_Max_WG_Size
       1, // GV_Default_WG_Size


        


More information about the Openmp-commits mailing list