Skip to content

Commit 40086d1

Browse files
committed
clang-format
1 parent 46ae487 commit 40086d1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

sycl/source/detail/buffer_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void buffer_impl::addInteropObject(
5757
ur::cast<ur_mem_handle_t>(MInteropMemObject));
5858
ur_native_handle_t NativeHandle = 0;
5959
Adapter.call<UrApiKind::urMemGetNativeHandle>(MInteropMemObject, nullptr,
60-
&NativeHandle);
60+
&NativeHandle);
6161
Handles.push_back(NativeHandle);
6262
}
6363
}

sycl/source/detail/sycl_mem_obj_t.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ SYCLMemObjT::SYCLMemObjT(ur_native_handle_t MemObject,
4646

4747
// Get the size of the buffer in bytes
4848
Adapter.call<UrApiKind::urMemGetInfo>(MInteropMemObject, UR_MEM_INFO_SIZE,
49-
sizeof(size_t), &MSizeInBytes,
50-
nullptr);
49+
sizeof(size_t), &MSizeInBytes, nullptr);
5150

5251
Adapter.call<UrApiKind::urMemGetInfo>(MInteropMemObject, UR_MEM_INFO_CONTEXT,
53-
sizeof(Context), &Context, nullptr);
52+
sizeof(Context), &Context, nullptr);
5453

5554
if (MInteropContext->getHandleRef() != Context)
5655
throw sycl::exception(
@@ -106,7 +105,7 @@ SYCLMemObjT::SYCLMemObjT(ur_native_handle_t MemObject,
106105
&NativeProperties, &MInteropMemObject);
107106

108107
Adapter.call<UrApiKind::urMemGetInfo>(MInteropMemObject, UR_MEM_INFO_CONTEXT,
109-
sizeof(Context), &Context, nullptr);
108+
sizeof(Context), &Context, nullptr);
110109

111110
if (MInteropContext->getHandleRef() != Context)
112111
throw sycl::exception(

0 commit comments

Comments
 (0)