mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: rename functions to check if buffer has stateful access
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5f874f45e2
commit
8b98e0d500
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user