We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 927a283 commit f30d2c2Copy full SHA for f30d2c2
unified-runtime/source/adapters/opencl/kernel.cpp
@@ -71,7 +71,7 @@ urKernelCreate(ur_program_handle_t hProgram, const char *pKernelName,
71
if (CLResult == CL_INVALID_KERNEL_DEFINITION) {
72
cl_adapter::setErrorMessage(
73
"clCreateKernel failed with CL_INVALID_KERNEL_DEFINITION",
74
- UR_RESULT_ERROR_ADAPTER_SPECIFIC);
+ CLResult);
75
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
76
}
77
0 commit comments