Skip to content

Commit f30d2c2

Browse files
martygrantkbenzie
andauthored
Update unified-runtime/source/adapters/opencl/kernel.cpp
Co-authored-by: Kenneth Benzie (Benie) <[email protected]>
1 parent 927a283 commit f30d2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/source/adapters/opencl/kernel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ urKernelCreate(ur_program_handle_t hProgram, const char *pKernelName,
7171
if (CLResult == CL_INVALID_KERNEL_DEFINITION) {
7272
cl_adapter::setErrorMessage(
7373
"clCreateKernel failed with CL_INVALID_KERNEL_DEFINITION",
74-
UR_RESULT_ERROR_ADAPTER_SPECIFIC);
74+
CLResult);
7575
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
7676
}
7777

0 commit comments

Comments
 (0)