We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ae487 commit 40086d1Copy full SHA for 40086d1
sycl/source/detail/buffer_impl.cpp
@@ -57,7 +57,7 @@ void buffer_impl::addInteropObject(
57
ur::cast<ur_mem_handle_t>(MInteropMemObject));
58
ur_native_handle_t NativeHandle = 0;
59
Adapter.call<UrApiKind::urMemGetNativeHandle>(MInteropMemObject, nullptr,
60
- &NativeHandle);
+ &NativeHandle);
61
Handles.push_back(NativeHandle);
62
}
63
sycl/source/detail/sycl_mem_obj_t.cpp
@@ -46,11 +46,10 @@ SYCLMemObjT::SYCLMemObjT(ur_native_handle_t MemObject,
46
47
// Get the size of the buffer in bytes
48
Adapter.call<UrApiKind::urMemGetInfo>(MInteropMemObject, UR_MEM_INFO_SIZE,
49
- sizeof(size_t), &MSizeInBytes,
50
- nullptr);
+ sizeof(size_t), &MSizeInBytes, nullptr);
51
52
Adapter.call<UrApiKind::urMemGetInfo>(MInteropMemObject, UR_MEM_INFO_CONTEXT,
53
- sizeof(Context), &Context, nullptr);
+ sizeof(Context), &Context, nullptr);
54
55
if (MInteropContext->getHandleRef() != Context)
56
throw sycl::exception(
@@ -106,7 +105,7 @@ SYCLMemObjT::SYCLMemObjT(ur_native_handle_t MemObject,
106
105
&NativeProperties, &MInteropMemObject);
107
108
109
110
111
112
0 commit comments