mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Capability to set overdispatch param for Kernel
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d8b7d56160
commit
f2ce393fc2
@@ -5096,10 +5096,16 @@ cl_int CL_API_CALL clSetKernelExecInfo(cl_kernel kernel,
|
||||
TRACING_EXIT(ClSetKernelExecInfo, &retVal);
|
||||
return retVal;
|
||||
}
|
||||
case CL_KERNEL_EXEC_INFO_EU_THREAD_OVER_DISPATCH_INTEL: {
|
||||
if ((paramValueSize != sizeof(cl_bool)) || (paramValue == nullptr)) {
|
||||
return CL_INVALID_VALUE;
|
||||
}
|
||||
retVal = pMultiDeviceKernel->setOverdispatchParam(paramValueSize, paramValue);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
retVal = pMultiDeviceKernel->setAdditionalKernelExecInfoWithParam(paramName, paramValueSize, paramValue);
|
||||
TRACING_EXIT(ClSetKernelExecInfo, &retVal);
|
||||
return retVal;
|
||||
retVal = CL_INVALID_VALUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user