Skip to content

Commit dde83bf

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ urKernelCreate(ur_program_handle_t hProgram, const char *pKernelName,
7070

7171
if (CLResult == CL_INVALID_KERNEL_DEFINITION) {
7272
cl_adapter::setErrorMessage(
73-
"urKernelCreate failing with CL_INVALID_KERNEL_DEFINITION",
74-
UR_RESULT_ERROR_ADAPTER_SPECIFIC);
73+
"clCreateKernel failed with CL_INVALID_KERNEL_DEFINITION", CLResult);
7574
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
7675
}
7776

0 commit comments

Comments
 (0)