Skip to content

Commit 9a13118

Browse files
omarahmed1111kbenzie
authored andcommitted
formating and update UR tag
1 parent 6abdfdd commit 9a13118

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
set(UNIFIED_RUNTIME_REPO "https://github.com/omarahmed1111/unified-runtime.git")
2-
# commit df6da35d6e67f2383db28dd49ab08c5c0ef541d2
3-
# Merge: 67590533 55bd5636
4-
# Author: aarongreig <[email protected]>
5-
# Date: Mon Oct 7 12:28:07 2024 +0100
6-
# Merge pull request #2038 from GeorgeWeb/georgi/unsupported-max-coop-wgsize
7-
# [UR][hip][opencl] Mark urKernelSuggestMaxCooperativeGroupCountExp as unsupported
8-
# instead of returning misleading default value
9-
set(UNIFIED_RUNTIME_TAG 411993dadaef65a10b3ee8140134e80b116a25b8)
1+
set(UNIFIED_RUNTIME_REPO "https://github.com/omarahmed1111/unified-runtime.git")
2+
# commit df6da35d6e67f2383db28dd49ab08c5c0ef541d2
3+
# Merge: 67590533 55bd5636
4+
# Author: aarongreig <[email protected]>
5+
# Date: Mon Oct 7 12:28:07 2024 +0100
6+
# Merge pull request #2038 from GeorgeWeb/georgi/unsupported-max-coop-wgsize
7+
# [UR][hip][opencl] Mark urKernelSuggestMaxCooperativeGroupCountExp as unsupported
8+
# instead of returning misleading default value
9+
set(UNIFIED_RUNTIME_TAG 6eba20afafab7358c7841c230890e43da4fd89a6)

sycl/source/detail/buffer_impl.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ void buffer_impl::addInteropObject(
5252
const AdapterPtr &Adapter = getAdapter();
5353
ur_native_handle_t NativeHandle = 0;
5454
Adapter->call<UrApiKind::urMemGetNativeHandle>(MInteropMemObject, nullptr,
55-
&NativeHandle);
56-
if (std::find(Handles.begin(), Handles.end(), NativeHandle) == Handles.end()) {
55+
&NativeHandle);
56+
if (std::find(Handles.begin(), Handles.end(), NativeHandle) ==
57+
Handles.end()) {
5758
Handles.push_back(NativeHandle);
5859
}
5960
}

sycl/source/queue.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ queue::queue(cl_command_queue clQueue, const context &SyclContext,
9898
auto Context = detail::getSyclObjImpl(SyclContext);
9999
auto Adapter = sycl::detail::ur::getAdapter<backend::opencl>();
100100

101-
ur_queue_native_properties_t Properties[] = {UR_STRUCTURE_TYPE_QUEUE_PROPERTIES, nullptr, 0};
101+
ur_queue_native_properties_t Properties[] = {
102+
UR_STRUCTURE_TYPE_QUEUE_PROPERTIES, nullptr, 0};
102103
Adapter->call<detail::UrApiKind::urQueueCreateWithNativeHandle>(
103104
detail::ur::cast<ur_native_handle_t>(clQueue), Context->getHandleRef(),
104105
nullptr, Properties, &hQueue);

0 commit comments

Comments
 (0)