mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
performance: detect indirect access in kernel, PVC
Enabling on pvc after patch in igc. Enabling only for JIT kernels because AOT could have been compiled with IGC older than required. Related-To: NEO-7712 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
985228ec57
commit
5c5c718af3
@@ -286,7 +286,7 @@ cl_int Kernel::initialize() {
|
||||
slmSizes.resize(numArgs);
|
||||
|
||||
this->setInlineSamplers();
|
||||
bool detectIndirectAccessInKernel = productHelper.isDetectIndirectAccessInKernelSupported(kernelDescriptor);
|
||||
bool detectIndirectAccessInKernel = productHelper.isDetectIndirectAccessInKernelSupported(kernelDescriptor, program->getCreatedFromBinary());
|
||||
if (DebugManager.flags.DetectIndirectAccessInKernel.get() != -1) {
|
||||
detectIndirectAccessInKernel = DebugManager.flags.DetectIndirectAccessInKernel.get() == 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user