Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unified-runtime/source/adapters/level_zero/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ ur_result_t urDeviceGetInfo(
return ReturnValue(true);
}
case UR_DEVICE_INFO_USM_HOST_ALLOC_REGISTER_SUPPORT_EXP: {
#if defined(UR_ADAPTER_LEVEL_ZERO_V2) && defined(__linux__)
#if defined(UR_ADAPTER_LEVEL_ZERO_V2)
// Registering existing host memory as a USM host allocation relies on the
// external system memory mapping extension being supported by the driver.
return ReturnValue(
Expand Down
Loading