Skip to content

Commit 3d55bd7

Browse files
author
Steffen Larsen
authored
[UR][L0] Make IPC memory temporarily unsupported on Windows (#20993)
This commit changes the UR_DEVICE_INFO_IPC_MEMORY_SUPPORT_EXP query in the UR Level-Zero adapter, making it return false on Windows. This is done temporarily while we investigate the current failures related to the UMF implementation of IPC on Windows. See #20773. --------- Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 6c84353 commit 3d55bd7

File tree

1 file changed

+5
-0
lines changed
  • unified-runtime/source/adapters/level_zero

1 file changed

+5
-0
lines changed

unified-runtime/source/adapters/level_zero/device.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,12 @@ ur_result_t urDeviceGetInfo(
13071307
#endif
13081308
}
13091309
case UR_DEVICE_INFO_IPC_MEMORY_SUPPORT_EXP:
1310+
#ifdef _WIN32
1311+
// TODO: Remove when IPC memory works in UMF on Windows.
1312+
return ReturnValue(false);
1313+
#else
13101314
return ReturnValue(true);
1315+
#endif
13111316
case UR_DEVICE_INFO_ASYNC_BARRIER:
13121317
return ReturnValue(false);
13131318
case UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORT:

0 commit comments

Comments
 (0)