@@ -705,18 +705,10 @@ int VISAKernelImpl::InitializeFastPath()
705
705
}
706
706
m_jitInfo = (FINALIZER_INFO*)m_mem.alloc (sizeof (FINALIZER_INFO));
707
707
708
- int feSPSize = 32 ;
709
- if (!getIntKernelAttributeValue (" FESPSize" , feSPSize ))
708
+ int value = 32 ;
709
+ if (!getIntKernelAttributeValue (" FESPSize" , value ))
710
710
{
711
- feSPSize = 32 ;
712
- }
713
- int spillMemOffset = 0 ;
714
- if (getIntKernelAttributeValue (" SpillMemOffset" , spillMemOffset))
715
- {
716
- if (spillMemOffset > 0 )
717
- {
718
- getOptions ()->setOption (vISA_SpillMemOffset, (uint32_t )spillMemOffset);
719
- }
711
+ value = 32 ;
720
712
}
721
713
722
714
void * addr = m_kernelMem->alloc (sizeof (class IR_Builder ));
@@ -725,7 +717,7 @@ int VISAKernelImpl::InitializeFastPath()
725
717
*m_kernel,
726
718
*m_kernelMem,
727
719
m_options,
728
- (feSPSize == 64 ),
720
+ (value == 64 ),
729
721
m_jitInfo,
730
722
m_pWaTable
731
723
);
@@ -1433,7 +1425,7 @@ int VISAKernelImpl::AddKernelAttribute(const char* attrName, int size, const voi
1433
1425
attr->size = (uint8_t )size;
1434
1426
attr->isInt = size != 0 && (!strcmp (attrName, " SLMSize" ) ||
1435
1427
!strcmp (attrName, " SurfaceUsage" ) ||
1436
- !strcmp (attrName, " SpillMemOffset " ) ||
1428
+ !strcmp (attrName, " StackSize " ) ||
1437
1429
!strcmp (attrName, " Scope" ) ||
1438
1430
!strcmp (attrName, " Target" ) ||
1439
1431
!strcmp (attrName, " ArgSize" ) ||
0 commit comments