Skip to content

Commit 9613465

Browse files
authored
MEMORY_MANAGER_THRESHOLD=3g LOW_TRIPCOUNT=9000 (llvm#706)
2 parents 2878182 + 70cbd32 commit 9613465

File tree

1 file changed

+3
-3
lines changed
  • offload/plugins-nextgen/amdgpu/src

1 file changed

+3
-3
lines changed

offload/plugins-nextgen/amdgpu/src/rtl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,7 +2911,7 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
29112911
"LIBOMPTARGET_AMDGPU_BIG_JUMP_LOOP_TEAMS_PER_CU", 0),
29122912
OMPX_BigJumpLoopMaxTotalTeams(
29132913
"LIBOMPTARGET_AMDGPU_BIG_JUMP_LOOP_MAX_TOTAL_TEAMS", 1024 * 1024),
2914-
OMPX_LowTripCount("LIBOMPTARGET_AMDGPU_LOW_TRIPCOUNT", 4000),
2914+
OMPX_LowTripCount("LIBOMPTARGET_AMDGPU_LOW_TRIPCOUNT", 9000),
29152915
OMPX_SmallBlockSize("LIBOMPTARGET_MIN_THREADS_FOR_LOW_TRIP_COUNT", 32),
29162916
OMPX_NumBlocksForLowTripcount("LIBOMPTARGET_BLOCKS_FOR_LOW_TRIP_COUNT",
29172917
0),
@@ -4376,8 +4376,8 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
43764376
// If this value needs to go above UINT_MAX, consider
43774377
// adding sizeof(size_t) check to avoid unpleasant truncation
43784378
// surprises where size_t is still 32bit.
4379-
constexpr size_t Almost2Gig = 2000000000u;
4380-
return Almost2Gig;
4379+
constexpr size_t Almost3Gig = 3000000000u;
4380+
return Almost3Gig;
43814381
}
43824382
return 0;
43834383
}

0 commit comments

Comments
 (0)