Skip to content

Commit 77225d0

Browse files
bcheng0127igcbot
authored andcommitted
[Autobackout][FuncReg]Revert of change: 45f1295
Enable GRF read delay of send stall instructions Enable the vISA option -schedWithSendSrcReadCycle
1 parent cc1a69b commit 77225d0

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

visa/HWCaps.inc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -845,13 +845,6 @@ bool needNopAfterCFInstWA() const {
845845
return false;
846846
}
847847

848-
bool scheduleStoreAway() const {
849-
const TARGET_PLATFORM p = getPlatform();
850-
if (p >= Xe_PVCXT)
851-
return getOption(vISA_schedWithSendSrcReadCycle);
852-
return false;
853-
}
854-
855848
bool hasReadSuppressionOrSharedLocalMemoryWAs() const {
856849
return getPlatform() < Xe2;
857850
}

visa/LocalScheduler/LocalScheduler_G4IR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2813,7 +2813,7 @@ uint32_t DDD::getEdgeLatency_old(Node *node, DepType depT) const {
28132813

28142814
case WAR_MEMORY:
28152815
case WAW_MEMORY:
2816-
if (kernel->fg.builder->scheduleStoreAway()) {
2816+
if (kernel->getOption(vISA_schedWithSendSrcReadCycle)) {
28172817
latency = LT.getSendSrcReadLatency(inst);
28182818
} else {
28192819
latency = UNCOMPR_LATENCY;

visa/include/VISAOptionsDefs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ DEF_VISA_OPTION(vISA_ScheduleACCDep, ET_BOOL, "-scheduleACCDep",
448448
"Enable scheduling with accurate ACC dependence, instead of "
449449
"coarse grained dependence",
450450
false)
451-
DEF_VISA_OPTION(vISA_schedWithSendSrcReadCycle, ET_BOOL_TRUE, "-schedWithSendSrcReadCycle", UNUSED, true)
451+
DEF_VISA_OPTION(vISA_schedWithSendSrcReadCycle, ET_BOOL, "-schedWithSendSrcReadCycle", UNUSED, false)
452452

453453
//=== SWSB options ===
454454
DEF_VISA_OPTION(vISA_USEL3HIT, ET_BOOL, "-SBIDL3Hit", UNUSED, false)

0 commit comments

Comments
 (0)