SWDEV-546376 - Fix CTS profiling failure (#976)

This commit is contained in:
Julia Jiang
2025-09-19 13:38:28 -04:00
کامیت شده توسط GitHub
والد c34c9826c3
کامیت 1c10592be2
@@ -213,7 +213,12 @@ RUNTIME_ENTRY(cl_int, clEnqueueNDRangeKernel,
}
#endif // CL_VERSION
if (global_work_size == NULL) {
return CL_INVALID_VALUE;
if ((OPENCL_MAJOR == 2 && OPENCL_MINOR >= 1) || (OPENCL_MAJOR > 2)) {
static size_t inputZeroes[3] = {0, 0, 0};
global_work_size = inputZeroes;
} else {
return CL_INVALID_VALUE;
}
}
if (local_work_size == NULL) {