Revert "Remove test API to disable overdispatch"

This reverts commit 3b92cef7a1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2022-10-05 23:04:48 +02:00
committed by Compute-Runtime-Automation
parent ad2d3d0289
commit f226718fef
8 changed files with 174 additions and 0 deletions

View File

@@ -5096,6 +5096,13 @@ 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 = CL_INVALID_VALUE;
break;