mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
feature: check indirect access for kernel
Do not make indirect allocations resident if kernel does not use indirect access. For both level zero and opencl. Currently disabled by default, enable with debug flag DetectIndirectAccessInKernel Related-To: NEO-7712 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c7311bc140
commit
69a16fd3ed
@@ -54,9 +54,9 @@ struct KernelDescriptor {
|
||||
uint16_t numArgsToPatch = 0U;
|
||||
uint16_t numGrfRequired = GrfConfig::DefaultGrfNumber;
|
||||
uint8_t barrierCount = 0u;
|
||||
bool hasNonKernelArgLoad = true;
|
||||
bool hasNonKernelArgStore = true;
|
||||
bool hasNonKernelArgAtomic = true;
|
||||
bool hasNonKernelArgLoad = false;
|
||||
bool hasNonKernelArgStore = false;
|
||||
bool hasNonKernelArgAtomic = false;
|
||||
bool hasIndirectStatelessAccess = false;
|
||||
|
||||
AddressingMode bufferAddressingMode = BindfulAndStateless;
|
||||
|
||||
Reference in New Issue
Block a user