File tree 2 files changed +2
-6
lines changed
source/adapters/level_zero
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -803,7 +803,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(
803
803
return ReturnValue (uint32_t {Device->ZeDeviceProperties ->numThreadsPerEU });
804
804
case UR_DEVICE_INFO_MAX_MEMORY_BANDWIDTH:
805
805
// currently not supported in level zero runtime
806
- return UR_RESULT_ERROR_INVALID_VALUE ;
806
+ return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION ;
807
807
case UR_DEVICE_INFO_BFLOAT16: {
808
808
// bfloat16 math functions are not yet supported on Intel GPUs.
809
809
return ReturnValue (ur_bool_t {false });
@@ -991,7 +991,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(
991
991
logger::error (" Unsupported ParamName in urGetDeviceInfo" );
992
992
logger::error (" ParamNameParamName={}(0x{})" , ParamName,
993
993
logger::toHex (ParamName));
994
- return UR_RESULT_ERROR_INVALID_VALUE ;
994
+ return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION ;
995
995
}
996
996
997
997
return UR_RESULT_SUCCESS;
Original file line number Diff line number Diff line change 1
1
urDeviceCreateWithNativeHandleTest.SuccessWithUnOwnedNativeHandle
2
2
{{OPT}}urDeviceGetGlobalTimestampTest.SuccessSynchronizedTime
3
3
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GLOBAL_MEM_FREE
4
- urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_MEMORY_BANDWIDTH
5
- urDeviceGetInfoTest.Success/UR_DEVICE_INFO_ASYNC_BARRIER
6
- urDeviceGetInfoTest.Success/UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORTED
7
- urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_REGISTERS_PER_WORK_GROUP
You can’t perform that action at this time.
0 commit comments