Skip to content

Commit dcc3a44

Browse files
Wei-Chen-Inteligcbot
authored andcommitted
Deprecate vISA_UseSends option
Split send is mandatory on Xe+ GPUs and should not be considered something that could be disabled.
1 parent ee76d79 commit dcc3a44

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

IGC/Compiler/CISACodeGen/CISABuilder.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4495,10 +4495,6 @@ namespace IGC
44954495
SaveOption(vISA_ALTMode, true);
44964496
}
44974497

4498-
if (IGC_IS_FLAG_ENABLED(DisableSendS))
4499-
{
4500-
SaveOption(vISA_UseSends, false);
4501-
}
45024498
if (IGC_IS_FLAG_ENABLED(DisablePrefetchToL1Cache)) {
45034499
SaveOption(vISA_DisablePrefetchToL1Cache, true);
45044500
}

IGC/common/igc_regkeys.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@ static void setImpliedIGCKeys()
774774
IGC_SET_IMPLIED_REGKEY(DisableIGCOptimizations, 1, EnableDeSSA, false);
775775
//disable now until we figure out the issue
776776
//IGC_SET_IMPLIED_REGKEY(DisableIGCOptimizations, DisablePayloadCoalescing, true);
777-
IGC_SET_IMPLIED_REGKEY(DisableIGCOptimizations, 1, DisableSendS, true);
778777
IGC_SET_IMPLIED_REGKEY(DisableIGCOptimizations, 1, EnableVISANoSchedule, true);
779778
IGC_SET_IMPLIED_REGKEY(DisableIGCOptimizations, 1, DisableUniformAnalysis, true);
780779
IGC_SET_IMPLIED_REGKEY(DisableIGCOptimizations, 1, DisablePushConstant, true);

visa/BuildIR.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ class IR_Builder {
22802280
}
22812281

22822282
bool useSends() const {
2283-
return getPlatform() >= GENX_SKL && m_options->getOption(vISA_UseSends) &&
2283+
return getPlatform() >= GENX_SKL &&
22842284
!(VISA_WA_CHECK(m_pWaTable, WaDisableSendsSrc0DstOverlap));
22852285
}
22862286

visa/include/VISAOptionsDefs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ DEF_VISA_OPTION(vISA_forceFPMAD, ET_BOOL, "-forcefmad", UNUSED, true)
191191
DEF_VISA_OPTION(vISA_DisableMixMode, ET_BOOL, "-disableMixMode", UNUSED, false)
192192
DEF_VISA_OPTION(vISA_DisableHFMath, ET_BOOL, "-disableHFMath", UNUSED, false)
193193
DEF_VISA_OPTION(vISA_ForceMixMode, ET_BOOL, "-forceMixMode", UNUSED, false)
194-
DEF_VISA_OPTION(vISA_UseSends, ET_BOOL, "-nosends", UNUSED, true)
194+
DEF_VISA_OPTION(vISA_UseSends, ET_BOOL, "-nosends", "DEPRECATED, is a nop", true)
195195
DEF_VISA_OPTION(vISA_doAlign1Ternary, ET_BOOL, "-noalign1ternary", UNUSED, true)
196196
DEF_VISA_OPTION(vISA_loadThreadPayload, ET_BOOL, "-noLoadPayload", UNUSED, true)
197197
DEF_VISA_OPTION(vISA_foldEOTtoPrevSend, ET_BOOL, "-foldEOT", UNUSED, false)

0 commit comments

Comments
 (0)