Skip to content

Commit f2b0f6f

Browse files
authored
[L0][V2] Enable host memory registration on Win (#22560)
Functionality works on Windows, so there is no reason to have this disabled.
1 parent 3607e0e commit f2b0f6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • unified-runtime/source/adapters/level_zero

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ ur_result_t urDeviceGetInfo(
12871287
return ReturnValue(true);
12881288
}
12891289
case UR_DEVICE_INFO_USM_HOST_ALLOC_REGISTER_SUPPORT_EXP: {
1290-
#if defined(UR_ADAPTER_LEVEL_ZERO_V2) && defined(__linux__)
1290+
#if defined(UR_ADAPTER_LEVEL_ZERO_V2)
12911291
// Registering existing host memory as a USM host allocation relies on the
12921292
// external system memory mapping extension being supported by the driver.
12931293
return ReturnValue(

0 commit comments

Comments
 (0)