Skip to content

Commit 7cd48cb

Browse files
authored
[SYCL][Graph] Bump UR commit for in-order L0 optimization (#13565)
- Bumps commit only and includes minimal pi2ur changes for new descriptor members - In-order path not currently used, enable profiling by default (match previous behaviour) UR PR: oneapi-src/unified-runtime#1442
1 parent 8b19948 commit 7cd48cb

File tree

2 files changed

+12
-29
lines changed

2 files changed

+12
-29
lines changed

sycl/plugins/unified_runtime/CMakeLists.txt

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -95,23 +95,17 @@ if(SYCL_PI_UR_USE_FETCH_CONTENT)
9595
endfunction()
9696

9797
set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
98-
# commit b37fa2c4b09a49839a83228f687c811595fce3fd
99-
# Merge: c7fade0d f61e81e9
98+
# commit 7371150b3a525d9c69a0790f9abf59089eb0c46c
99+
# Merge: cb44d9ab bb45b7c5
100100
# Author: Kenneth Benzie (Benie) <[email protected]>
101-
# Date: Tue Apr 23 16:17:41 2024 +0100
102-
# Merge pull request #1544 from kbenzie/benie/l0-fix-rhel-error
103-
# [L0] Add missing <iomanip> include
104-
set(UNIFIED_RUNTIME_TAG b37fa2c4b09a49839a83228f687c811595fce3fd)
101+
# Date: Fri Apr 26 15:44:19 2024 +0100
102+
# Merge pull request #1442 from Bensuo/ben/optimize-cmdbuffer-submission
103+
# [EXP][Command-Buffer] Optimize L0 command buffer submission
104+
set(UNIFIED_RUNTIME_TAG 7371150b3a525d9c69a0790f9abf59089eb0c46c)
105105

106106
fetch_adapter_source(level_zero
107107
${UNIFIED_RUNTIME_REPO}
108-
# commit f4a94976f880de64d0c144abb1080a8262c158f3
109-
# Merge: ee075703 39fcb2be
110-
# Author: Kenneth Benzie (Benie) <[email protected]>
111-
# Date: Fri Apr 26 11:50:56 2024 +0100
112-
# Merge pull request #1370 from winstonzhang-intel/counter-based-events
113-
# [L0] Support for counter-based events using L0 driver
114-
f4a94976f880de64d0c144abb1080a8262c158f3
108+
${UNIFIED_RUNTIME_TAG}
115109
)
116110

117111
fetch_adapter_source(opencl
@@ -120,15 +114,8 @@ if(SYCL_PI_UR_USE_FETCH_CONTENT)
120114
)
121115

122116
fetch_adapter_source(cuda
123-
"https://github.com/oneapi-src/unified-runtime.git"
124-
# commit 7fcfe3ad8882fee23d83fa0fc4c4c944262a9ea3
125-
# Merge: b37fa2c4 f9fb1167
126-
# Author: Kenneth Benzie (Benie) <[email protected]>
127-
# Date: Wed Apr 24 10:38:00 2024 +0100
128-
# Merge pull request #1265 from cppchedy/chedy/device-to-device-copy
129-
#
130-
# [Bindless][Exp] Add support for device to device copies between CuArrays
131-
7fcfe3ad8882fee23d83fa0fc4c4c944262a9ea3
117+
${UNIFIED_RUNTIME_REPO}
118+
${UNIFIED_RUNTIME_TAG}
132119
)
133120

134121
fetch_adapter_source(hip
@@ -138,13 +125,7 @@ if(SYCL_PI_UR_USE_FETCH_CONTENT)
138125

139126
fetch_adapter_source(native_cpu
140127
${UNIFIED_RUNTIME_REPO}
141-
# commit 37242e39480d8bb73cb8cc3a54152edab43fd85b
142-
# Merge: 48facdd6 56ffd291
143-
# Author: Kenneth Benzie (Benie) <[email protected]>
144-
# Date: Thu Apr 25 10:23:31 2024 +0100
145-
# Merge pull request #1518 from PietroGhg/pietro/coverity
146-
# [NATIVECPU] Address coverity warnings in threadpool implementation
147-
37242e39480d8bb73cb8cc3a54152edab43fd85b
128+
${UNIFIED_RUNTIME_TAG}
148129
)
149130

150131
if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO)

sycl/plugins/unified_runtime/pi2ur.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4496,6 +4496,8 @@ piextCommandBufferCreate(pi_context Context, pi_device Device,
44964496
ur_device_handle_t UrDevice = reinterpret_cast<ur_device_handle_t>(Device);
44974497
ur_exp_command_buffer_desc_t UrDesc;
44984498
UrDesc.stype = UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC;
4499+
UrDesc.isInOrder = ur_bool_t(false);
4500+
UrDesc.enableProfiling = ur_bool_t(true);
44994501
UrDesc.isUpdatable = Desc->is_updatable;
45004502
ur_exp_command_buffer_handle_t *UrCommandBuffer =
45014503
reinterpret_cast<ur_exp_command_buffer_handle_t *>(RetCommandBuffer);

0 commit comments

Comments
 (0)