Skip to content

Commit 092d90e

Browse files
committed
Fix two more missed on first pass.
1 parent 8ea43af commit 092d90e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/adapters/level_zero/device.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -875,13 +875,13 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(
875875
return ReturnValue(static_cast<ur_bool_t>(true));
876876
}
877877
case UR_DEVICE_INFO_TIMESTAMP_RECORDING_SUPPORT_EXP: {
878-
return ReturnValue(static_cast<uint32_t>(true));
878+
return ReturnValue(static_cast<ur_bool_t>(true));
879879
}
880880

881881
case UR_DEVICE_INFO_ESIMD_SUPPORT: {
882882
// ESIMD is only supported by Intel GPUs.
883-
uint32_t result = Device->ZeDeviceProperties->type == ZE_DEVICE_TYPE_GPU &&
884-
Device->ZeDeviceProperties->vendorId == 0x8086;
883+
ur_bool_t result = Device->ZeDeviceProperties->type == ZE_DEVICE_TYPE_GPU &&
884+
Device->ZeDeviceProperties->vendorId == 0x8086;
885885
return ReturnValue(result);
886886
}
887887

0 commit comments

Comments
 (0)