File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
source/adapters/level_zero Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -875,13 +875,13 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(
875
875
return ReturnValue (static_cast <ur_bool_t >(true ));
876
876
}
877
877
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 ));
879
879
}
880
880
881
881
case UR_DEVICE_INFO_ESIMD_SUPPORT: {
882
882
// 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 ;
885
885
return ReturnValue (result);
886
886
}
887
887
You can’t perform that action at this time.
0 commit comments