refactor: rename functions to check if buffer has stateful access

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-11-03 14:57:30 +00:00
committed by Compute-Runtime-Automation
parent 5f874f45e2
commit 8b98e0d500
14 changed files with 37 additions and 37 deletions

View File

@@ -1640,8 +1640,8 @@ bool KernelImp::checkKernelContainsStatefulAccess() {
auto moduleImp = static_cast<ModuleImp *>(this->module);
auto isUserKernel = (moduleImp->getModuleType() == ModuleType::user);
auto isGeneratedByIgc = moduleImp->getTranslationUnit()->isGeneratedByIgc;
auto containsStatefulAccess = NEO::AddressingModeHelper::containsStatefulAccess(getKernelDescriptor(), false);
return containsStatefulAccess && isUserKernel && isGeneratedByIgc;
auto containsBufferStatefulAccess = NEO::AddressingModeHelper::containsBufferStatefulAccess(getKernelDescriptor(), false);
return containsBufferStatefulAccess && isUserKernel && isGeneratedByIgc;
}
uint8_t KernelImp::getRequiredSlmAlignment(uint32_t argIndex) const {