diff --git a/sycl/plugins/level_zero/pi_level_zero.cpp b/sycl/plugins/level_zero/pi_level_zero.cpp old mode 100755 new mode 100644 index a90bae727a510..2cac31b63ec8a --- a/sycl/plugins/level_zero/pi_level_zero.cpp +++ b/sycl/plugins/level_zero/pi_level_zero.cpp @@ -1216,9 +1216,8 @@ pi_result piDeviceGetInfo(pi_device Device, pi_device_info ParamName, case PI_DEVICE_INFO_IMAGE_SUPPORT: return ReturnValue(pi_bool{ZeDeviceImageProperties.maxImageDims1D > 0}); case PI_DEVICE_INFO_HOST_UNIFIED_MEMORY: - return ReturnValue( - // TODO[1.0]: how to query for USM support now? - pi_bool{true}); + return ReturnValue(pi_bool{(Device->ZeDeviceProperties.flags & + ZE_DEVICE_PROPERTY_FLAG_INTEGRATED) != 0}); case PI_DEVICE_INFO_AVAILABLE: return ReturnValue(pi_bool{ZeDevice ? true : false}); case PI_DEVICE_INFO_VENDOR: