File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -285,12 +285,14 @@ UR_APIEXPORT ur_result_t UR_APICALL urKernelSetExecInfo(
285
285
return UR_RESULT_SUCCESS;
286
286
}
287
287
case UR_KERNEL_EXEC_INFO_CACHE_CONFIG: {
288
- /* Setting the cache config is unsupported in OpenCL */
289
- return UR_RESULT_ERROR_INVALID_ENUMERATION;
288
+ // Setting the cache config is unsupported in OpenCL, but this is just a
289
+ // hint.
290
+ return UR_RESULT_SUCCESS;
290
291
}
291
292
case UR_KERNEL_EXEC_INFO_USM_PTRS: {
292
293
CL_RETURN_ON_FAILURE (clSetKernelExecInfo (
293
- cl_adapter::cast<cl_kernel>(hKernel), propName, propSize, pPropValue));
294
+ cl_adapter::cast<cl_kernel>(hKernel),
295
+ CL_KERNEL_EXEC_INFO_USM_PTRS_INTEL, propSize, pPropValue));
294
296
return UR_RESULT_SUCCESS;
295
297
}
296
298
default : {
You can’t perform that action at this time.
0 commit comments