Skip to content

Commit

Permalink
[SYCL][ROCm] Fix missing parameter in ROCm plugin (#4166)
Browse files Browse the repository at this point in the history
This parameter was introduced in #4066 but apparently didn't make it in
the ROCm plugin.
  • Loading branch information
npmiller authored Jul 22, 2021
1 parent 32be008 commit 4614ee4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sycl/plugins/rocm/pi_rocm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
Expand Down

0 comments on commit 4614ee4

Please sign in to comment.