[libomptarget][nfc][devicertl] Delete unused enums
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Wed, 18 Aug 2021 23:12:33 +0000 (00:12 +0100)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Wed, 18 Aug 2021 23:14:34 +0000 (00:14 +0100)
openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h

index 615335d..fe1c6a7 100644 (file)
@@ -49,8 +49,6 @@
 
 // Data sharing related quantities, need to match what is used in the compiler.
 enum DATA_SHARING_SIZES {
-  // The maximum number of workers in a kernel.
-  DS_Max_Worker_Threads = 960,
   // The size reserved for data in a shared memory slot.
   DS_Slot_Size = 256,
   // The slot size that should be reserved for a working warp.
index 9e69f60..a2346d4 100644 (file)
 
 // Data sharing related quantities, need to match what is used in the compiler.
 enum DATA_SHARING_SIZES {
-  // The maximum number of workers in a kernel.
-  DS_Max_Worker_Threads = 992,
   // The size reserved for data in a shared memory slot.
   DS_Slot_Size = 256,
   // The slot size that should be reserved for a working warp.
   DS_Worker_Warp_Slot_Size = WARPSIZE * DS_Slot_Size,
   // The maximum number of warps in use
   DS_Max_Warp_Number = 32,
-  // The size of the preallocated shared memory buffer per team
-  DS_Shared_Memory_Size = 128,
 };
 
 enum : __kmpc_impl_lanemask_t {