mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Don't check addressing mode for gtpin surface
If gtpin is used, then don't check addressing mode of the last explicit arg, which is gtpin's surface. Related-To: NEO-6075 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ab3ae9215c
commit
5a99635232
@@ -165,7 +165,8 @@ cl_int Program::build(
|
||||
|
||||
retVal = processGenBinaries(deviceVector, phaseReached);
|
||||
|
||||
auto containsStatefulAccess = AddressingModeHelper::containsStatefulAccess(buildInfos[clDevices[0]->getRootDeviceIndex()].kernelInfoArray);
|
||||
auto skipLastExplicitArg = isGTPinInitialized;
|
||||
auto containsStatefulAccess = AddressingModeHelper::containsStatefulAccess(buildInfos[clDevices[0]->getRootDeviceIndex()].kernelInfoArray, skipLastExplicitArg);
|
||||
auto isUserKernel = !isBuiltIn;
|
||||
|
||||
auto failBuildProgram = (containsStatefulAccess &&
|
||||
|
||||
Reference in New Issue
Block a user