mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Store SLM sizes per root device in Kernel
reduce usages of getDefaultKernelInfo Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
09bdd2ad09
commit
be7ae13911
@@ -1845,7 +1845,7 @@ cl_int CL_API_CALL clSetKernelArg(cl_kernel kernel,
|
||||
retVal = CL_INVALID_KERNEL;
|
||||
break;
|
||||
}
|
||||
if (pKernel->getDefaultKernelInfo().kernelArgInfo.size() <= argIndex) {
|
||||
if (pKernel->getKernelArguments().size() <= argIndex) {
|
||||
retVal = CL_INVALID_ARG_INDEX;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user