Skip to content

Commit 63efaa8

Browse files
author
Hugh Delaney
committed
Clang format
1 parent 11e244c commit 63efaa8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

sycl/include/sycl/detail/pi.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,8 +1407,9 @@ __SYCL_EXPORT pi_result piextMemGetNativeHandle(pi_mem mem,
14071407
/// \param mem is the PI mem to get the native handle of.
14081408
/// \param dev is the PI device that the native allocation will be resident on.
14091409
/// \param nativeHandle is the native handle of mem.
1410-
__SYCL_EXPORT pi_result piextMemGetNativeHandleExp(
1411-
pi_mem mem, pi_device dev, pi_native_handle *nativeHandle);
1410+
__SYCL_EXPORT pi_result
1411+
piextMemGetNativeHandleExp(pi_mem mem, pi_device dev,
1412+
pi_native_handle *nativeHandle);
14121413

14131414
/// Creates PI mem object from a native handle.
14141415
/// NOTE: The created PI object takes ownership of the native handle.

sycl/plugins/unified_runtime/pi_unified_runtime.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,9 @@ piextMemGetNativeHandle(pi_mem Mem, pi_native_handle *NativeHandle) {
240240
return pi2ur::piextMemGetNativeHandle(Mem, NativeHandle);
241241
}
242242

243-
__SYCL_EXPORT pi_result piextMemGetNativeHandleExp(
244-
pi_mem Mem, pi_device Device, pi_native_handle *NativeHandle) {
243+
__SYCL_EXPORT pi_result
244+
piextMemGetNativeHandleExp(pi_mem Mem, pi_device Device,
245+
pi_native_handle *NativeHandle) {
245246
return pi2ur::piextMemGetNativeHandleExp(Mem, Device, NativeHandle);
246247
}
247248

0 commit comments

Comments
 (0)