Skip to content

Commit 0ebe4c9

Browse files
authored
[offload][rtl.cpp] Add mi308x and mi350x to EnvVarConfigs (llvm#743)
1 parent 5b3c422 commit 0ebe4c9

File tree

1 file changed

+8
-0
lines changed
  • offload/plugins-nextgen/amdgpu/src

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5130,6 +5130,14 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
51305130
.OMPX_XteamBlockSize = 512,
51315131
.OMPX_XTeamReductionOccupancyBasedOpt = false,
51325132
.OMPX_AdjustNumTeamsForXteamRedSmallBlockSize=1}},
5133+
{"MI308X", {.OMPX_UseMultipleSdmaEngines = true,
5134+
.OMPX_XteamBlockSize = 256,
5135+
.OMPX_XTeamReductionOccupancyBasedOpt = true,
5136+
.OMPX_AdjustNumTeamsForXteamRedSmallBlockSize=0}},
5137+
{"MI350X", {.OMPX_UseMultipleSdmaEngines = true,
5138+
.OMPX_XteamBlockSize = 512,
5139+
.OMPX_XTeamReductionOccupancyBasedOpt = false,
5140+
.OMPX_AdjustNumTeamsForXteamRedSmallBlockSize=1}},
51335141
{"MI355X", {.OMPX_UseMultipleSdmaEngines = true,
51345142
.OMPX_XteamBlockSize = 512,
51355143
.OMPX_XTeamReductionOccupancyBasedOpt = false,

0 commit comments

Comments
 (0)