Skip to content

Commit 2454976

Browse files
authored
two patches for swdev 517884 (llvm#1449)
2 parents 9c13e66 + 9c0e10b commit 2454976

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2655,7 +2655,7 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
26552655
OMPX_QueueSize("LIBOMPTARGET_AMDGPU_HSA_QUEUE_SIZE", 512),
26562656
OMPX_DefaultTeamsPerCU("LIBOMPTARGET_AMDGPU_TEAMS_PER_CU", 6),
26572657
OMPX_GenericSpmdTeamsPerCU(
2658-
"LIBOMPTARGET_AMDGPU_GENERIC_SPMD_TEAMS_PER_CU", 0),
2658+
"LIBOMPTARGET_AMDGPU_GENERIC_SPMD_TEAMS_PER_CU", 6),
26592659
OMPX_BigJumpLoopTeamsPerCU(
26602660
"LIBOMPTARGET_AMDGPU_BIG_JUMP_LOOP_TEAMS_PER_CU", 0),
26612661
OMPX_LowTripCount("LIBOMPTARGET_AMDGPU_LOW_TRIPCOUNT", 2000),
@@ -2676,7 +2676,7 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
26762676
OMPX_StreamBusyWait("LIBOMPTARGET_AMDGPU_STREAM_BUSYWAIT", 2000000),
26772677
OMPX_UseMultipleSdmaEngines(
26782678
// setting default to true here appears to solve random sdma problem
2679-
"LIBOMPTARGET_AMDGPU_USE_MULTIPLE_SDMA_ENGINES", false),
2679+
"LIBOMPTARGET_AMDGPU_USE_MULTIPLE_SDMA_ENGINES", true),
26802680
OMPX_ApuMaps("OMPX_APU_MAPS", false),
26812681
OMPX_EnableGFX90ACoarseGrainUsmMaps(
26822682
"OMPX_ENABLE_GFX90A_COARSE_GRAIN_USM_MAPS", false),

0 commit comments

Comments
 (0)