diff --git a/openmp/libomptarget/deviceRTLs/common/omptarget.h b/openmp/libomptarget/deviceRTLs/common/omptarget.h --- a/openmp/libomptarget/deviceRTLs/common/omptarget.h +++ b/openmp/libomptarget/deviceRTLs/common/omptarget.h @@ -252,7 +252,7 @@ workDescrForActiveParallel; // one, ONLY for the active par ALIGN(16) - __kmpc_data_sharing_worker_slot_static worker_rootS[WARPSIZE]; + __kmpc_data_sharing_worker_slot_static worker_rootS[DS_Max_Warp_Number]; ALIGN(16) __kmpc_data_sharing_master_slot_static master_rootS[1]; };