mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
fix: use igc indirect detection v3
Update to use igc indirect detection v3. Fix for not detecting indirects passed as implicit arguments. Related-To: NEO-11396 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4320be4593
commit
fd47030ad6
@@ -211,7 +211,7 @@ template <>
|
||||
bool ProductHelperHw<gfxProduct>::isDetectIndirectAccessInKernelSupported(const KernelDescriptor &kernelDescriptor, const bool isPrecompiled, const uint32_t kernelIndirectDetectionVersion) const {
|
||||
const bool isZebin = kernelDescriptor.kernelAttributes.binaryFormat == DeviceBinaryFormat::zebin;
|
||||
const bool isCMKernelHeuristic = kernelDescriptor.kernelAttributes.simdSize == 1;
|
||||
constexpr auto minimalIndirectDetectionVersion = 2u;
|
||||
constexpr auto minimalIndirectDetectionVersion = 3u;
|
||||
const bool indirectDetectionValid = !isPrecompiled || kernelIndirectDetectionVersion >= minimalIndirectDetectionVersion;
|
||||
return isZebin && indirectDetectionValid && !isCMKernelHeuristic;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user