Skip to content

Commit 1cb0277

Browse files
committed
[SYCL][ROCm] Fix missing parameter in ROCm plugin
This parameter was introduced in intel#4066 but apparently didn't make it in the ROCm plugin.
1 parent 66ef4eb commit 1cb0277

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sycl/plugins/rocm/pi_rocm.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2140,11 +2140,16 @@ pi_result rocm_piextQueueGetNativeHandle(pi_queue queue,
21402140
/// \param[in] nativeHandle The native handle to create PI queue object from.
21412141
/// \param[in] context is the PI context of the queue.
21422142
/// \param[out] queue Set to the PI queue object created from native handle.
2143+
/// \param ownNativeHandle tells if SYCL RT should assume the ownership of
2144+
/// the native handle, if it can.
2145+
///
21432146
///
21442147
/// \return TBD
21452148
pi_result rocm_piextQueueCreateWithNativeHandle(pi_native_handle nativeHandle,
21462149
pi_context context,
2147-
pi_queue *queue) {
2150+
pi_queue *queue,
2151+
bool ownNativeHandle) {
2152+
(void)ownNativeHandle;
21482153
cl::sycl::detail::pi::die(
21492154
"Creation of PI queue from native handle not implemented");
21502155
return {};

0 commit comments

Comments
 (0)