Skip to content

Commit 8055c91

Browse files
committed
fix build
Signed-off-by: Sergey V Maslov <[email protected]>
1 parent 3690165 commit 8055c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/plugins/opencl/pi_opencl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ pi_result piextQueueCreateWithNativeHandle(pi_native_handle nativeHandle,
389389
(void)ownNativeHandle;
390390
assert(piQueue != nullptr);
391391
*piQueue = reinterpret_cast<pi_queue>(nativeHandle);
392-
clRetainCommandQueue(*piQueue);
392+
clRetainCommandQueue(cast<cl_command_queue>(nativeHandle));
393393
return PI_SUCCESS;
394394
}
395395

0 commit comments

Comments
 (0)