Skip to content

Commit 0e49948

Browse files
author
Jaime Arteaga
authored
[SYCL][UR][L0] Don't overwrite context's devices (#10794)
They are only set at contextCreate time. Signed-off-by: Jaime Arteaga <[email protected]>
1 parent 70f911b commit 0e49948

File tree

1 file changed

+0
-2
lines changed
  • sycl/plugins/unified_runtime/ur/adapters/level_zero

1 file changed

+0
-2
lines changed

sycl/plugins/unified_runtime/ur/adapters/level_zero/queue.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urQueueCreate(
279279
ur_queue_handle_t
280280
*Queue ///< [out] pointer to handle of queue object created
281281
) {
282-
Context->Devices[0] = Device;
283-
284282
ur_queue_flags_t Flags{};
285283
if (Props) {
286284
Flags = Props->flags;

0 commit comments

Comments
 (0)