Skip to content

Commit 4dc773c

Browse files
committed
Remove unneeded map to UR
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent cd97612 commit 4dc773c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/adapters/opencl/enqueue.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,12 +409,12 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueReadHostPipe(
409409
cl_ext::EnqueueReadHostPipeName, &FuncPtr));
410410

411411
if (FuncPtr) {
412-
CL_RETURN_ON_FAILURE(mapCLErrorToUR(
412+
CL_RETURN_ON_FAILURE(
413413
FuncPtr(cl_adapter::cast<cl_command_queue>(hQueue),
414414
cl_adapter::cast<cl_program>(hProgram), pipe_symbol, blocking,
415415
pDst, size, numEventsInWaitList,
416416
cl_adapter::cast<const cl_event *>(phEventWaitList),
417-
cl_adapter::cast<cl_event *>(phEvent))));
417+
cl_adapter::cast<cl_event *>(phEvent)));
418418
}
419419

420420
return UR_RESULT_SUCCESS;
@@ -441,12 +441,12 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueWriteHostPipe(
441441
cl_ext::EnqueueWriteHostPipeName, &FuncPtr));
442442

443443
if (FuncPtr) {
444-
CL_RETURN_ON_FAILURE(mapCLErrorToUR(
444+
CL_RETURN_ON_FAILURE(
445445
FuncPtr(cl_adapter::cast<cl_command_queue>(hQueue),
446446
cl_adapter::cast<cl_program>(hProgram), pipe_symbol, blocking,
447447
pSrc, size, numEventsInWaitList,
448448
cl_adapter::cast<const cl_event *>(phEventWaitList),
449-
cl_adapter::cast<cl_event *>(phEvent))));
449+
cl_adapter::cast<cl_event *>(phEvent)));
450450
}
451451

452452
return UR_RESULT_SUCCESS;

0 commit comments

Comments
 (0)