From 1cb027758dbbc47577ea8baf5bb37dafd836ba4e Mon Sep 17 00:00:00 2001 From: Nicolas Miller Date: Thu, 22 Jul 2021 17:25:47 +0100 Subject: [PATCH] [SYCL][ROCm] Fix missing parameter in ROCm plugin This parameter was introduced in #4066 but apparently didn't make it in the ROCm plugin. --- sycl/plugins/rocm/pi_rocm.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sycl/plugins/rocm/pi_rocm.cpp b/sycl/plugins/rocm/pi_rocm.cpp index 06c481c400db3..bfef7e81693cd 100644 --- a/sycl/plugins/rocm/pi_rocm.cpp +++ b/sycl/plugins/rocm/pi_rocm.cpp @@ -2140,11 +2140,16 @@ pi_result rocm_piextQueueGetNativeHandle(pi_queue queue, /// \param[in] nativeHandle The native handle to create PI queue object from. /// \param[in] context is the PI context of the queue. /// \param[out] queue Set to the PI queue object created from native handle. +/// \param ownNativeHandle tells if SYCL RT should assume the ownership of +/// the native handle, if it can. +/// /// /// \return TBD pi_result rocm_piextQueueCreateWithNativeHandle(pi_native_handle nativeHandle, pi_context context, - pi_queue *queue) { + pi_queue *queue, + bool ownNativeHandle) { + (void)ownNativeHandle; cl::sycl::detail::pi::die( "Creation of PI queue from native handle not implemented"); return {};