Skip to content

Commit bd5ae01

Browse files
committed
[Autobackout][FuncReg]Revert of change: 3895c0d
vISA will use dispatch simdsize from attribute instead of figuring out by scanning all instructions. Change-Id: I832e28dafda3ffccba5b0661ba2e0119ac0dfcb0
1 parent 3197eef commit bd5ae01

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

visa/FlowGraph.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6140,15 +6140,6 @@ void G4_Kernel::calculateSimdSize()
61406140
return;
61416141
}
61426142

6143-
// First, get simdsize from attribute (0 : not given)
6144-
simdSize = m_kernelAttrs->getIntKernelAttribute(Attributes::ATTR_SimdSize);
6145-
if (simdSize == 8 || simdSize == 16 || simdSize == 32)
6146-
{ // got it from attribute, done.
6147-
return;
6148-
}
6149-
// If not 0|8|16|32, wrong value from attribute.
6150-
assert(simdSize == 0 && "vISA: wrong value for SimdSize attribute");
6151-
61526143
simdSize = 8;
61536144

61546145
for (auto bb : fg)

0 commit comments

Comments
 (0)